Class RunPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class RunPanel extends JPanel implements ActionListener
This panel controls the running of an experiment.
$Revision: 15301 $
Len Trigg (
See Also:
  • Constructor Details

    • RunPanel

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

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

    • setResultsPanel

      public void setResultsPanel(ResultsPanel rp)
      Sets the pointer to the results panel.
    • setExperiment

      public void setExperiment(Experiment exp)
      Sets the experiment the panel operates on.
      exp - a value of type 'Experiment'
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Controls starting and stopping the experiment.
      Specified by:
      actionPerformed in interface ActionListener
      e - a value of type 'ActionEvent'
    • main

      public static void main(String[] args)
      Tests out the run panel from the command line.
      args - may contain options specifying an experiment to run.