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)

Constructor Index

 o SimpleSetupPanel()
Creates the setup panel with no initial experiment.
 o SimpleSetupPanel(Experiment)
Creates the setup panel with the supplied initial experiment.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a PropertyChangeListener who will be notified of value changes.
 o getExperiment()
Gets the currently configured experiment.
 o main(String[])
Tests out the experiment setup from the command line.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a PropertyChangeListener.
 o setExperiment(Experiment)
Sets the experiment to configure.
 o setModePanel(SetupModePanel)
Sets the panel used to switch between simple and advanced modes.

Constructor Detail

 o SimpleSetupPanel
public SimpleSetupPanel(Experiment exp)
          Creates the setup panel with the supplied initial experiment.
Parameters:
exp - a value of type 'Experiment'
 o SimpleSetupPanel
public SimpleSetupPanel()
          Creates the setup panel with no initial experiment.

Method Detail

 o setModePanel
public void setModePanel(SetupModePanel modePanel)
          Sets the panel used to switch between simple and advanced modes.
Parameters:
modePanel - the panel
 o 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
 o getExperiment
public Experiment getExperiment()
          Gets the currently configured experiment.
Returns:
the currently configured experiment.
 o 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
 o 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
 o 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