public class BasicSetup extends AbstractSetupTab
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.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_ButtonAddDataset
the button for adding a dataset.
|
protected JButton |
m_ButtonEditClassifier
the button for editing a classifier.
|
protected JButton |
m_ButtonMoveDownClassifier
the button for moving a classifier down.
|
protected JButton |
m_ButtonMoveDownDataset
the button for moving a dataset down.
|
protected JButton |
m_ButtonMoveUpClassifier
the button for moving a classifier up.
|
protected JButton |
m_ButtonMoveUpDataset
the button for moving a dataset up.
|
protected JButton |
m_ButtonNotes
the button for the notes.
|
protected JButton |
m_ButtonRemoveAllClassifiers
the button for removing all classifiers.
|
protected JButton |
m_ButtonRemoveAllDatasets
the button for removing all datasets.
|
protected JButton |
m_ButtonRemoveClassifier
the button for removing a classifier.
|
protected JButton |
m_ButtonRemoveDataset
the button for removing a dataset.
|
protected JCheckBox |
m_CheckBoxPreserveOrder
whether to preserve the order.
|
protected JComboBox<String> |
m_ComboBoxEvaluation
the type of evaluation.
|
protected weka.gui.ConverterFileChooser |
m_FileChooserDatasets
the file chooser for datasets.
|
protected GenericObjectEditor |
m_GOEStatisticsHandler
the GOE for the statistics handler.
|
protected ListWithButtons |
m_ListClassifiers
the classifiers.
|
protected ListWithButtons |
m_ListDatasets
the datasets.
|
protected DefaultListModel<String> |
m_ModelClassifiers
the model with the classifiers.
|
protected DefaultListModel<String> |
m_ModelDatasets
the model with the datasets.
|
protected String |
m_Notes
the notes.
|
protected ParameterPanel |
m_ParameterPanel
for the parameters.
|
protected JSpinner |
m_SpinnerNumFolds
the number of folds.
|
protected JSpinner |
m_SpinnerNumRuns
the number of runs.
|
protected JTextField |
m_TextPercentage
the percentage for the percentage split.
|
m_ButtonApply, m_ButtonRevert, m_IgnoreChanges, m_Modified, m_PanelSetup, m_PanelUnsupportedm_Experiment, m_OwnerlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
BasicSetup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassifier()
Lets the user add a classifier.
|
protected void |
addDataset()
Lets the user add a dataset.
|
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 |
initialize()
Initializes the member variables.
|
protected void |
removeClassifiers(int[] indices)
Removes the specified classifiers.
|
protected void |
removeDatasets(int[] indices)
Removes the specified datasets.
|
protected Experiment |
toExperiment()
Stores the parameters in an experiment.
|
protected void |
updateButtons()
Updates the enabled state of the buttons.
|
apply, experimentStage, finishInit, getGOEDialog, isModified, revert, setExperiment, setModified, setPreferredSize, updateclearStatus, finishBusy, finishBusy, getExperiment, getMenu, getOwner, getTabs, handleException, hasExperiment, log, setOwner, showStatus, startBusy, startBusycloseParent, getParentDialog, getParentFramegetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected 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 ListWithButtons m_ListDatasets
protected DefaultListModel<String> m_ModelDatasets
protected JButton m_ButtonAddDataset
protected JButton m_ButtonRemoveDataset
protected JButton m_ButtonRemoveAllDatasets
protected JButton m_ButtonMoveUpDataset
protected JButton m_ButtonMoveDownDataset
protected weka.gui.ConverterFileChooser m_FileChooserDatasets
protected ParameterPanel m_ParameterPanel
protected JSpinner m_SpinnerNumRuns
protected JSpinner m_SpinnerNumFolds
protected JTextField m_TextPercentage
protected JCheckBox m_CheckBoxPreserveOrder
protected GenericObjectEditor m_GOEStatisticsHandler
protected JButton m_ButtonNotes
protected String m_Notes
protected void initialize()
initialize in class AbstractSetupTabprotected void initGUI()
initGUI in class AbstractSetupTabpublic String getTitle()
getTitle in class AbstractSetupTabprotected void updateButtons()
updateButtons in class AbstractSetupTabprotected void addClassifier()
protected void editClassifier()
protected void removeClassifiers(int[] indices)
indices - the indices, null to remove allprotected void addDataset()
protected void removeDatasets(int[] indices)
indices - the indices, null to remove allprotected void editNotes()
protected void clear()
clear in class AbstractSetupTabprotected boolean handlesExperiment(Experiment exp)
handlesExperiment in class AbstractSetupTabexp - the experiment to checkprotected void fromExperiment()
fromExperiment in class AbstractSetupTabprotected Experiment toExperiment()
toExperiment in class AbstractSetupTabCopyright © 2017. All Rights Reserved.