Class RunNumberPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RunNumberPanel extends JPanel
This panel controls configuration of lower and upper run numbers in an experiment.
Version:
$Revision: 8034 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • RunNumberPanel

      public RunNumberPanel()
      Creates the panel with no initial experiment.
    • RunNumberPanel

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

    • setExperiment

      public void setExperiment(Experiment exp)
      Sets the experiment to be configured.
      Parameters:
      exp - a value of type 'Experiment'
    • getLower

      public int getLower()
      Gets the current lower run number.
      Returns:
      the lower run number.
    • getUpper

      public int getUpper()
      Gets the current upper run number.
      Returns:
      the upper run number.
    • main

      public static void main(String[] args)
      Tests out the panel from the command line.
      Parameters:
      args - ignored.