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 JPanel
This panel controls the configuration of an experiment.

Version:
$Revision: 1.8 $
Author:
Len Trigg (trigg@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.

Constructors

 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.

Methods

 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(PropertyChangeListener l)
Adds a PropertyChangeListener who will be notified of value changes.

Parameters:
l - a value of type 'PropertyChangeListener'
Overrides:
addPropertyChangeListener in class JComponent
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener.

Parameters:
l - a value of type 'PropertyChangeListener'
Overrides:
removePropertyChangeListener in class JComponent
 o main
 public static void main(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