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

Class weka.gui.experiment.RunNumberPanel

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

public class RunNumberPanel
extends javax.swing.JPanel
This panel controls configuration of lower and upper run numbers in an experiment.

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

Constructor Index

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

Method Index

 o getLower()
Gets the current lower run number.
 o getUpper()
Gets the current upper run number.
 o main(String[])
Tests out the panel from the command line.
 o setExperiment(Experiment)
Sets the experiment to be configured.

Constructor Detail

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

Method Detail

 o setExperiment
public void setExperiment(Experiment exp)
          Sets the experiment to be configured.
Parameters:
exp - a value of type 'Experiment'
 o getLower
public int getLower()
          Gets the current lower run number.
Returns:
the lower run number.
 o getUpper
public int getUpper()
          Gets the current upper run number.
Returns:
the upper run number.
 o main
public static void main(java.lang.String args[])
          Tests out the panel from the command line.
Parameters:
args - ignored.

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