All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.experiment.SimpleSetupPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----weka.gui.experiment.SimpleSetupPanel
- public class SimpleSetupPanel
- extends javax.swing.JPanel
This panel controls the configuration of an experiment.
- Version:
- $Revision: 1.2 $
- Author:
- Richard kirkby (rkirkby@cs.waikato.ac.nz)
SimpleSetupPanel()
- Creates the setup panel with no initial experiment.
SimpleSetupPanel(Experiment)
- Creates the setup panel with the supplied initial experiment.
addPropertyChangeListener(PropertyChangeListener)
- Adds a PropertyChangeListener who will be notified of value changes.
getExperiment()
- Gets the currently configured experiment.
main(String[])
- Tests out the experiment setup from the command line.
removePropertyChangeListener(PropertyChangeListener)
- Removes a PropertyChangeListener.
setExperiment(Experiment)
- Sets the experiment to configure.
setModePanel(SetupModePanel)
- Sets the panel used to switch between simple and advanced modes.
SimpleSetupPanel
public SimpleSetupPanel(Experiment exp)
Creates the setup panel with the supplied initial experiment.
- Parameters:
exp - a value of type 'Experiment'
SimpleSetupPanel
public SimpleSetupPanel()
Creates the setup panel with no initial experiment.
setModePanel
public void setModePanel(SetupModePanel modePanel)
Sets the panel used to switch between simple and advanced modes.
- Parameters:
modePanel - the panel
setExperiment
public boolean setExperiment(Experiment exp)
Sets the experiment to configure.
- Parameters:
exp - a value of type 'Experiment'
- Returns:
- true if experiment could be configured, false otherwise
getExperiment
public Experiment getExperiment()
Gets the currently configured experiment.
- Returns:
- the currently configured experiment.
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener who will be notified of value changes.
- Parameters:
l - a value of type 'PropertyChangeListener'
- Overrides:
- addPropertyChangeListener in class javax.swing.JComponent
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener.
- Parameters:
l - a value of type 'PropertyChangeListener'
- Overrides:
- removePropertyChangeListener in class javax.swing.JComponent
main
public static void main(java.lang.String args[])
Tests out the experiment setup from the command line.
- Parameters:
args - arguments to the program.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home