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

Class weka.gui.experiment.RunPanel

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

public class RunPanel
extends JPanel
implements ActionListener
This panel controls the running of an experiment.

Version:
$Revision: 1.7 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Index

 o RunPanel()
Creates the run panel with no initial experiment.
 o RunPanel(Experiment)
Creates the panel with the supplied initial experiment.

Method Index

 o actionPerformed(ActionEvent)
Controls starting and stopping the experiment.
 o main(String[])
Tests out the run panel from the command line.
 o setExperiment(Experiment)
Sets the experiment the panel operates on.

Constructors

 o RunPanel
 public RunPanel()
Creates the run panel with no initial experiment.

 o RunPanel
 public RunPanel(Experiment exp)
Creates the panel with the supplied initial experiment.

Parameters:
exp - a value of type 'Experiment'

Methods

 o setExperiment
 public void setExperiment(Experiment exp)
Sets the experiment the panel operates on.

Parameters:
exp - a value of type 'Experiment'
 o actionPerformed
 public void actionPerformed(ActionEvent e)
Controls starting and stopping the experiment.

Parameters:
e - a value of type 'ActionEvent'
 o main
 public static void main(String args[])
Tests out the run panel from the command line.

Parameters:
args - may contain options specifying an experiment to run.

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