Class SetupPanel

    • Constructor Detail

      • SetupPanel

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

        public SetupPanel()
        Creates the setup panel with no initial experiment.
    • Method Detail

      • terminate

        public void terminate()
        Terminates this panel, which means, in the case of this panel, that it sets all references to associated JFrame objects to null.
        Specified by:
        terminate in class AbstractSetupPanel
      • setModePanel

        public void setModePanel​(SetupModePanel modePanel)
        Sets the panel used to switch between simple and advanced modes.
        Specified by:
        setModePanel in class AbstractSetupPanel
        Parameters:
        modePanel - the panel
      • setExperiment

        public boolean setExperiment​(Experiment exp)
        Sets the experiment to configure.
        Specified by:
        setExperiment in class AbstractSetupPanel
        Parameters:
        exp - a value of type 'Experiment'
        Returns:
        true if experiment could be configured, false otherwise
      • main

        public static void main​(String[] args)
        Tests out the experiment setup from the command line.
        Parameters:
        args - arguments to the program.