public class Statistics extends AbstractExperimenterTab implements StatisticsNotificationListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected JComboBox<String> |
m_ComboBoxMeasurements
the combobox with the measurements.
|
protected EvaluationStatisticsExporterFileChooser |
m_FileChooser
the filechooser for saving the statistics.
|
protected MeasurementEvaluationStatisticsExporterFileChooser |
m_FileChooserMeasurement
the filechooser for saving the measurement statistics.
|
protected EvaluationStatisticsFileChooser |
m_FileChooserStatistics
the filechooser for loading the statistics.
|
protected boolean |
m_IgnoreChanges
whether to ignore changes in the UI.
|
protected JMenuItem |
m_MenuItemOpen
the menu item for loading stats.
|
protected JMenuItem |
m_MenuItemSaveAsAggregated
the menu item for saving aggregated stats.
|
protected JMenuItem |
m_MenuItemSaveAsMeasurement
the menu item for saving measurement stats.
|
protected JMenuItem |
m_MenuItemSaveAsRaw
the menu item for saving raw stats.
|
protected EvaluationStatisticsTableModel |
m_ModelAggregated
the model for the aggregated statistics.
|
protected MeasurementEvaluationStatisticsTableModel |
m_ModelMeasurement
the model for the measurement statistics.
|
protected DefaultTableModel |
m_ModelMeasurementKey
the model for the keys of the measurement statistics.
|
protected EvaluationStatisticsTableModel |
m_ModelRaw
the model for the raw statistics.
|
protected SearchPanel |
m_SearchPanel
the search panel.
|
protected List<EvaluationStatistics> |
m_Statistics
the collected statistics.
|
protected JTabbedPane |
m_TabbedPane
the tabbed pane for the statistics.
|
protected SortableAndSearchableTable |
m_TableAggregated
the table for the aggregated statistics.
|
protected SortableAndSearchableTable |
m_TableMeasurement
the table for the measurement statistics.
|
protected SortableAndSearchableTable |
m_TableMeasurementKey
the table for the keys of the measurement statistics.
|
protected SortableAndSearchableTable |
m_TableRaw
the table for the raw statistics.
|
static int |
TAB_AGGREGATED |
static int |
TAB_MEASUREMENT |
static int |
TAB_RAW |
m_Experiment, m_Owner
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
void |
experimentStage(ExecutionStageEvent e)
Gets called when the experiment enters a new stage.
|
JMenu |
getMenu()
Returns an optional menu to be added to the Experimenter menu.
|
String |
getTitle()
Returns the title of the tab.
|
protected void |
initGUI()
Initializes the widgets.
|
protected void |
initialize()
Initializes the members.
|
protected void |
load()
Loads statistics from disk.
|
protected void |
save()
Prompts the user with a filechooser for saving the statistics to a file.
|
void |
statisticsAvailable(StatisticsNotificationEvent e)
Gets called if new statistics have become available.
|
protected void |
update()
Gets called when the experiment changed.
|
protected void |
updateMenu()
Updates the menu items in the custom menu.
|
protected void |
updateView()
Updates the view on the current statistics.
|
clearStatus, finishBusy, finishBusy, getExperiment, getOwner, getTabs, handleException, hasExperiment, log, setExperiment, setOwner, showStatus, startBusy, startBusy
closeParent, finishInit, getParentDialog, getParentFrame
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final int TAB_RAW
public static final int TAB_AGGREGATED
public static final int TAB_MEASUREMENT
protected List<EvaluationStatistics> m_Statistics
protected JTabbedPane m_TabbedPane
protected SortableAndSearchableTable m_TableRaw
protected EvaluationStatisticsTableModel m_ModelRaw
protected SortableAndSearchableTable m_TableAggregated
protected EvaluationStatisticsTableModel m_ModelAggregated
protected JComboBox<String> m_ComboBoxMeasurements
protected MeasurementEvaluationStatisticsTableModel m_ModelMeasurement
protected SortableAndSearchableTable m_TableMeasurement
protected DefaultTableModel m_ModelMeasurementKey
protected SortableAndSearchableTable m_TableMeasurementKey
protected SearchPanel m_SearchPanel
protected EvaluationStatisticsExporterFileChooser m_FileChooser
protected MeasurementEvaluationStatisticsExporterFileChooser m_FileChooserMeasurement
protected EvaluationStatisticsFileChooser m_FileChooserStatistics
protected boolean m_IgnoreChanges
protected JMenuItem m_MenuItemOpen
protected JMenuItem m_MenuItemSaveAsRaw
protected JMenuItem m_MenuItemSaveAsAggregated
protected JMenuItem m_MenuItemSaveAsMeasurement
protected void initialize()
initialize
in class AbstractExperimenterTab
public String getTitle()
getTitle
in class AbstractExperimenterTab
public JMenu getMenu()
getMenu
in class AbstractExperimenterTab
protected void save()
protected void load()
public void experimentStage(ExecutionStageEvent e)
experimentStage
in interface ExecutionStageListener
experimentStage
in class AbstractExperimenterTab
e
- the eventpublic void statisticsAvailable(StatisticsNotificationEvent e)
statisticsAvailable
in interface StatisticsNotificationListener
e
- the eventprotected void update()
update
in class AbstractExperimenterTab
protected void updateView()
protected void updateMenu()
Copyright © 2017. All Rights Reserved.