|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--weka.gui.experiment.SetupPanel
This panel controls the configuration of an experiment.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected JRadioButton |
m_advanceDataSetFirst
Click to advacne data set before custom generator |
protected JRadioButton |
m_advanceIteratorFirst
Click to advance custom generator before data set |
protected DatasetListPanel |
m_DatasetListPanel
The panel for configuring selected datasets |
protected DistributeExperimentPanel |
m_DistributeExperimentPanel
The panel for enabling a distributed experiment |
protected Experiment |
m_Exp
The experiment being configured |
protected FileFilter |
m_ExpFilter
A filter to ensure only experiment files get shown in the chooser |
protected JFileChooser |
m_FileChooser
The file chooser for selecting experiments |
protected GeneratorPropertyIteratorPanel |
m_GeneratorPropertyPanel
The panel that configures iteration on custom resultproducer property |
protected JButton |
m_NewBut
Click to create a new experiment with default settings |
protected JTextArea |
m_NotesText
Area for user notes Default of 5 rows |
protected JButton |
m_OpenBut
Click to load an experiment |
protected GenericObjectEditor |
m_RLEditor
The ResultListener editor |
protected PropertyPanel |
m_RLEditorPanel
The panel to contain the ResultListener editor |
protected GenericObjectEditor |
m_RPEditor
The ResultProducer editor |
protected PropertyPanel |
m_RPEditorPanel
The panel to contain the ResultProducer editor |
protected RunNumberPanel |
m_RunNumberPanel
The panel for configuring run numbers |
protected JButton |
m_SaveBut
Click to save an experiment |
protected PropertyChangeSupport |
m_Support
Manages sending notifications to people when we change the experiment, at this stage, only the resultlistener so the resultpanel can update. |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SetupPanel()
Creates the setup panel with no initial experiment. |
|
SetupPanel(Experiment exp)
Creates the setup panel with the supplied initial experiment. |
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a PropertyChangeListener who will be notified of value changes. |
Experiment |
getExperiment()
Gets the currently configured experiment. |
static void |
main(String[] args)
Tests out the experiment setup from the command line. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener. |
void |
setExperiment(Experiment exp)
Sets the experiment to configure. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Experiment m_Exp
protected JButton m_OpenBut
protected JButton m_SaveBut
protected JButton m_NewBut
protected FileFilter m_ExpFilter
protected JFileChooser m_FileChooser
protected GenericObjectEditor m_RPEditor
protected PropertyPanel m_RPEditorPanel
protected GenericObjectEditor m_RLEditor
protected PropertyPanel m_RLEditorPanel
protected GeneratorPropertyIteratorPanel m_GeneratorPropertyPanel
protected RunNumberPanel m_RunNumberPanel
protected DistributeExperimentPanel m_DistributeExperimentPanel
protected DatasetListPanel m_DatasetListPanel
protected JTextArea m_NotesText
protected PropertyChangeSupport m_Support
protected JRadioButton m_advanceDataSetFirst
protected JRadioButton m_advanceIteratorFirst
Constructor Detail |
public SetupPanel(Experiment exp)
exp
- a value of type 'Experiment'public SetupPanel()
Method Detail |
public void setExperiment(Experiment exp)
exp
- a value of type 'Experiment'public Experiment getExperiment()
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in class JComponent
l
- a value of type 'PropertyChangeListener'public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in class JComponent
l
- a value of type 'PropertyChangeListener'public static void main(String[] args)
args
- arguments to the program.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |