public class ReportGenWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javax.swing.JCheckBox[] |
allMeasuresBoxes |
private javax.swing.JCheckBox |
checkBoxClusterReport |
private javax.swing.JCheckBox |
checkBoxDistortion |
private javax.swing.JCheckBox |
checkBoxFlowBorderline |
private javax.swing.JCheckBox |
checkBoxMetroMap |
private javax.swing.JCheckBox |
checkBoxRegionalReport |
private javax.swing.JCheckBox |
checkBoxScientificDescription |
private javax.swing.JCheckBox |
checkBoxSDH |
private javax.swing.JCheckBox |
checkBoxSemanticInterpretation |
private javax.swing.JCheckBox |
checkBoxTopographicProduct |
private javax.swing.JCheckBox |
checkBoxTrustworthiness |
private javax.swing.JFileChooser |
dirChooser |
private EditableReportProperties |
EP |
private javax.swing.JFileChooser |
fileChooser |
private java.util.Vector<InputVectorSelectorPane> |
inputElements |
private javax.swing.JScrollPane |
inputElementSelectionScroller |
private javax.swing.JPanel |
inputElementSelectionScrollerContent |
private javax.swing.JSpinner |
jSpinnerClassCompactnessMAX |
private javax.swing.JSpinner |
jSpinnerClassCompactnessMIN |
private javax.swing.JSpinner |
jSpinnerMetroMap |
private javax.swing.JSpinner |
jSpinnerSDH |
private javax.swing.JSpinner |
jSpinnerTopographicProduct |
private javax.swing.JSpinner |
jSpinnerTrustworthiness |
private javax.swing.JTextField |
Map_location |
private javax.swing.JCheckBox[] |
mapMeasureBoxes |
static java.lang.String[] |
mapMeasures |
private static java.lang.String |
OUTPUT_FILE |
private java.util.HashMap<java.lang.String,java.lang.String> |
paths |
private static java.lang.String |
PROPERTIES_FILE |
private ReportGenerator |
reportGenerator |
private CommonSOMViewerStateData |
state |
private java.util.Vector<RunResultSpecifierPane> |
testrunResults |
private javax.swing.JScrollPane |
testrunScroller |
private javax.swing.JPanel |
testrunScrollerContent |
private javax.swing.JTextField |
textClassFileLocation |
private javax.swing.JTextField |
textInputVectorsLocation |
private javax.swing.JTextField |
textOutputLocation |
private javax.swing.JTextField |
textPropertiesLocation |
private javax.swing.JTextField |
textTemplateVectorsLocation |
private javax.swing.JCheckBox[] |
unitAndMapMeasuresBoxes |
static java.lang.String[] |
unitAndMmapMeasures |
Constructor and Description |
---|
ReportGenWindow(boolean standalone,
ReportGenerator reportGen,
CommonSOMViewerStateData state,
java.lang.String outputPath,
java.lang.String propertiesFile) |
Modifier and Type | Method and Description |
---|---|
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 javax.swing.JCheckBox[] |
createCheckBoxes(java.lang.String[] m) |
void |
generateReport(int type) |
java.lang.String |
getClassInfoPath() |
java.lang.String |
getDataWinnerMappingPath() |
private javax.swing.JFileChooser |
getDirectoryChooser(java.lang.String path) |
private javax.swing.JPanel |
getEditableReportAtributesPane()
Return the panel holding the controls to change the report options
|
private javax.swing.JFileChooser |
getFileChooser(java.lang.String path) |
java.lang.String |
getInputVectorPath() |
private javax.swing.JPanel |
getJContentPane()
Create the main panel
|
java.lang.String |
getMapPath() |
java.lang.String |
getOutputPath() |
java.lang.String |
getPropertiesPath() |
java.util.ArrayList<java.lang.String> |
getSelectedQualityMeasures()
Returns a list containing the selected quality measures
|
java.lang.String |
getTemplatePath() |
private TestRunResultCollection |
getTestrunResultCollection(DatasetInformation dataInfo,
int type)
Makes a report on the default Map.
|
java.lang.String |
getUnitPath() |
java.lang.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) |
private static final java.lang.String PROPERTIES_FILE
private static final java.lang.String OUTPUT_FILE
public static final java.lang.String[] unitAndMmapMeasures
public static final java.lang.String[] mapMeasures
private ReportGenerator reportGenerator
private java.util.Vector<InputVectorSelectorPane> inputElements
private java.util.Vector<RunResultSpecifierPane> testrunResults
private java.util.HashMap<java.lang.String,java.lang.String> paths
private CommonSOMViewerStateData state
private javax.swing.JTextField textInputVectorsLocation
private javax.swing.JTextField Map_location
private javax.swing.JTextField textTemplateVectorsLocation
private javax.swing.JTextField textOutputLocation
private javax.swing.JTextField textClassFileLocation
private javax.swing.JTextField textPropertiesLocation
private javax.swing.JCheckBox checkBoxClusterReport
private javax.swing.JCheckBox checkBoxRegionalReport
private javax.swing.JCheckBox checkBoxScientificDescription
private javax.swing.JCheckBox checkBoxSemanticInterpretation
private javax.swing.JCheckBox checkBoxDistortion
private javax.swing.JCheckBox checkBoxFlowBorderline
private javax.swing.JCheckBox checkBoxMetroMap
private javax.swing.JCheckBox checkBoxTrustworthiness
private javax.swing.JCheckBox checkBoxTopographicProduct
private javax.swing.JCheckBox checkBoxSDH
private javax.swing.JSpinner jSpinnerSDH
private javax.swing.JSpinner jSpinnerTopographicProduct
private javax.swing.JSpinner jSpinnerTrustworthiness
private javax.swing.JSpinner jSpinnerMetroMap
private javax.swing.JSpinner jSpinnerClassCompactnessMAX
private javax.swing.JSpinner jSpinnerClassCompactnessMIN
private javax.swing.JCheckBox[] mapMeasureBoxes
private javax.swing.JCheckBox[] unitAndMapMeasuresBoxes
private javax.swing.JCheckBox[] allMeasuresBoxes
private javax.swing.JScrollPane inputElementSelectionScroller
private javax.swing.JScrollPane testrunScroller
private javax.swing.JPanel inputElementSelectionScrollerContent
private javax.swing.JPanel testrunScrollerContent
private javax.swing.JFileChooser fileChooser
private javax.swing.JFileChooser dirChooser
private EditableReportProperties EP
public ReportGenWindow(boolean standalone, ReportGenerator reportGen, CommonSOMViewerStateData state, java.lang.String outputPath, java.lang.String propertiesFile)
private void init(boolean standalone, ReportGenerator reportGen)
public java.lang.String getMapPath()
public java.lang.String getUnitPath()
public java.lang.String getWeightPath()
public java.lang.String getDataWinnerMappingPath()
public java.lang.String getInputVectorPath()
public java.lang.String getClassInfoPath()
public java.lang.String getTemplatePath()
public java.lang.String getPropertiesPath()
public java.lang.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 javax.swing.JPanel getJContentPane()
private javax.swing.JPanel getEditableReportAtributesPane()
private javax.swing.JCheckBox[] createCheckBoxes(java.lang.String[] m)
private void selectQualityBoxes(boolean selected)
private javax.swing.JFileChooser getFileChooser(java.lang.String path)
private javax.swing.JFileChooser getDirectoryChooser(java.lang.String path)
private EditableReportProperties readEditableProperties()
public java.util.ArrayList<java.lang.String> getSelectedQualityMeasures()