|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.reportgenerator.gui.ReportGenWindow
public class ReportGenWindow
Constructor Summary | |
---|---|
ReportGenWindow(boolean standalone,
ReportGenerator reportGen,
CommonSOMViewerStateData state,
String outputPath,
String propertiesFile)
|
Method Summary | |
---|---|
private void |
addTestrunPane()
inserts a new panel for specifying information about a testrun to the testrunScrollerContent pane |
private void |
clearInputElementSelectionPane()
removes all the panes for marking input elements as interesting |
private JCheckBox[] |
createCheckBoxes(String[] m)
|
void |
generateReport(int type)
|
String |
getClassInfoPath()
|
String |
getDataWinnerMappingPath()
|
private JFileChooser |
getDirectoryChooser(String path)
|
private JPanel |
getEditableReportAtributesPane()
Return the panel holding the controls to change the report options |
private JFileChooser |
getFileChooser(String path)
|
String |
getInputVectorPath()
|
private JPanel |
getJContentPane()
Create the main panel |
String |
getMapPath()
|
String |
getOutputPath()
|
String |
getPropertiesPath()
|
ArrayList<String> |
getSelectedQualityMeasures()
Returns a list containing the selected quality measures |
String |
getTemplatePath()
|
private TestRunResultCollection |
getTestrunResultCollection(DatasetInformation dataInfo,
int type)
Makes a report on the default Map. |
String |
getUnitPath()
|
String |
getWeightPath()
|
private void |
init(boolean standalone,
ReportGenerator reportGen)
|
boolean |
loadInputVectors()
loads the specified Input Vector file into some data structure (hopefully one that already exists) and prints a list of the vectors in the selection list for marking inputs that shall be observed |
private EditableReportProperties |
readEditableProperties()
Reads the options |
void |
removeTestrun(int id)
removes the specified testrun the testrun identified with this id (that is the one at position id (starting with 1st position == 0)) is removed from the list of testruns as well as from the panel. |
private void |
selectQualityBoxes(boolean selected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String PROPERTIES_FILE
private static final String OUTPUT_FILE
public static final String[] unitAndMmapMeasures
public static final String[] mapMeasures
private ReportGenerator reportGenerator
private Vector<InputVectorSelectorPane> inputElements
private Vector<RunResultSpecifierPane> testrunResults
private HashMap<String,String> paths
private CommonSOMViewerStateData state
private JTextField textInputVectorsLocation
private JTextField Map_location
private JTextField textTemplateVectorsLocation
private JTextField textOutputLocation
private JTextField textClassFileLocation
private JTextField textPropertiesLocation
private JCheckBox checkBoxClusterReport
private JCheckBox checkBoxRegionalReport
private JCheckBox checkBoxScientificDescription
private JCheckBox checkBoxSemanticInterpretation
private JCheckBox checkBoxDistortion
private JCheckBox checkBoxFlowBorderline
private JCheckBox checkBoxMetroMap
private JCheckBox checkBoxTrustworthiness
private JCheckBox checkBoxTopographicProduct
private JCheckBox checkBoxSDH
private JSpinner jSpinnerSDH
private JSpinner jSpinnerTopographicProduct
private JSpinner jSpinnerTrustworthiness
private JSpinner jSpinnerMetroMap
private JSpinner jSpinnerClassCompactnessMAX
private JSpinner jSpinnerClassCompactnessMIN
private JCheckBox[] mapMeasureBoxes
private JCheckBox[] unitAndMapMeasuresBoxes
private JCheckBox[] allMeasuresBoxes
private JScrollPane inputElementSelectionScroller
private JScrollPane testrunScroller
private JPanel inputElementSelectionScrollerContent
private JPanel testrunScrollerContent
private JFileChooser fileChooser
private JFileChooser dirChooser
private EditableReportProperties EP
Constructor Detail |
---|
public ReportGenWindow(boolean standalone, ReportGenerator reportGen, CommonSOMViewerStateData state, String outputPath, String propertiesFile)
Method Detail |
---|
private void init(boolean standalone, ReportGenerator reportGen)
public String getMapPath()
public String getUnitPath()
public String getWeightPath()
public String getDataWinnerMappingPath()
public String getInputVectorPath()
public String getClassInfoPath()
public String getTemplatePath()
public String getPropertiesPath()
public String getOutputPath()
public boolean loadInputVectors()
public void generateReport(int type)
public void removeTestrun(int id)
id
- the index of the testrun to removeprivate TestRunResultCollection getTestrunResultCollection(DatasetInformation dataInfo, int type)
private void addTestrunPane()
private void clearInputElementSelectionPane()
private JPanel getJContentPane()
private JPanel getEditableReportAtributesPane()
private JCheckBox[] createCheckBoxes(String[] m)
private void selectQualityBoxes(boolean selected)
private JFileChooser getFileChooser(String path)
private JFileChooser getDirectoryChooser(String path)
private EditableReportProperties readEditableProperties()
public ArrayList<String> getSelectedQualityMeasures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |