public class ExpertSetup extends AbstractSetupTab
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected JButton |
m_ButtonAddClassifier
the button for adding a classifier.
|
protected JButton |
m_ButtonEditClassifier
the button for editing a classifier.
|
protected JButton |
m_ButtonMoveDownClassifier
the button for moving a classifier down.
|
protected JButton |
m_ButtonMoveUpClassifier
the button for moving a classifier up.
|
protected JButton |
m_ButtonNotes
the button for the notes.
|
protected JButton |
m_ButtonRemoveAllClassifiers
the button for removing all classifiers.
|
protected JButton |
m_ButtonRemoveClassifier
the button for removing a classifier.
|
protected GenericObjectEditor |
m_GOEDatasets
the GOE for the datasets.
|
protected GenericObjectEditor |
m_GOEEvaluator
the GOE for the evaluator.
|
protected GenericObjectEditor |
m_GOEStatisticsHandler
the GOE for the statistics handler.
|
protected ListWithButtons |
m_ListClassifiers
the classifiers.
|
protected DefaultListModel<String> |
m_ModelClassifiers
the model with the classifiers.
|
protected String |
m_Notes
the notes.
|
protected ParameterPanel |
m_ParameterPanel
the parameters of the experiment.
|
m_ButtonApply, m_ButtonRevert, m_IgnoreChanges, m_Modified, m_PanelSetup, m_PanelUnsupported
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 |
---|
ExpertSetup() |
Modifier and Type | Method and Description |
---|---|
protected void |
addClassifier()
Lets the user add a classifier.
|
protected void |
clear()
Resets the interface.
|
protected void |
editClassifier()
Lets the user edit a classifier.
|
protected void |
editNotes()
Displays dialog for entering notes in Markdown.
|
protected void |
fromExperiment()
Maps the experiment onto the parameters.
|
String |
getTitle()
Returns the title of the tab.
|
protected boolean |
handlesExperiment(Experiment exp)
Checks whether this type of experiment is handled by this tab.
|
protected void |
initGUI()
Initializes the widgets.
|
protected void |
removeClassifiers(int[] indices)
Removes the specified classifiers.
|
protected Experiment |
toExperiment()
Stores the parameters in an experiment.
|
protected void |
updateButtons()
Updates the enabled state of the buttons.
|
apply, experimentStage, finishInit, getGOEDialog, initialize, isModified, revert, setExperiment, setModified, setPreferredSize, update
clearStatus, finishBusy, finishBusy, getExperiment, getMenu, getOwner, getTabs, handleException, hasExperiment, log, setOwner, showStatus, startBusy, startBusy
closeParent, 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
protected ParameterPanel m_ParameterPanel
protected ListWithButtons m_ListClassifiers
protected DefaultListModel<String> m_ModelClassifiers
protected JButton m_ButtonAddClassifier
protected JButton m_ButtonRemoveClassifier
protected JButton m_ButtonRemoveAllClassifiers
protected JButton m_ButtonEditClassifier
protected JButton m_ButtonMoveUpClassifier
protected JButton m_ButtonMoveDownClassifier
protected GenericObjectEditor m_GOEDatasets
protected GenericObjectEditor m_GOEEvaluator
protected GenericObjectEditor m_GOEStatisticsHandler
protected JButton m_ButtonNotes
protected String m_Notes
protected void initGUI()
initGUI
in class AbstractSetupTab
public String getTitle()
getTitle
in class AbstractSetupTab
protected void updateButtons()
updateButtons
in class AbstractSetupTab
protected void addClassifier()
protected void editClassifier()
protected void removeClassifiers(int[] indices)
indices
- the indices, null to remove allprotected void editNotes()
protected void clear()
clear
in class AbstractSetupTab
protected boolean handlesExperiment(Experiment exp)
handlesExperiment
in class AbstractSetupTab
exp
- the experiment to checkprotected void fromExperiment()
fromExperiment
in class AbstractSetupTab
protected Experiment toExperiment()
toExperiment
in class AbstractSetupTab
Copyright © 2017. All Rights Reserved.