Class RunPanel

    • Constructor Detail

      • RunPanel

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

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

      • 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.
        Parameters:
        exp - a value of type 'Experiment'
      • actionPerformed

        public void actionPerformed​(ActionEvent e)
        Controls starting and stopping the experiment.
        Specified by:
        actionPerformed in interface ActionListener
        Parameters:
        e - a value of type 'ActionEvent'
      • 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.