All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.experiment.SetupPanel

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----javax.swing.JComponent
                            |
                            +----javax.swing.JPanel
                                    |
                                    +----weka.gui.experiment.SetupPanel

public class SetupPanel
extends javax.swing.JPanel
This panel controls the configuration of an experiment.

Version:
$Revision: 1.17 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)
Author:
Mark Hall (mhall@cs.waikato.ac.nz)

Constructor Index

 o SetupPanel()
Creates the setup panel with no initial experiment.
 o SetupPanel(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.

Constructor Detail

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

Method Detail

 o setExperiment
public void setExperiment(Experiment exp)
          Sets the experiment to configure.
Parameters:
exp - a value of type 'Experiment'
 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