Class SetupModePanel

    • Constructor Detail

      • SetupModePanel

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

      • switchToAdvanced

        public void switchToAdvanced​(Experiment exp)
        Switches to the advanced panel.
        Parameters:
        exp - the experiment to configure
      • switchTo

        public void switchTo​(AbstractSetupPanel panel,
                             Experiment exp)
        Switches to the specified panel. Switching from advanced panel to simple panel without conversion is not permitted by this method.
        Parameters:
        panel - the panel to switch to
        exp - the experiment to configure
      • addPropertyChangeListener

        public void addPropertyChangeListener​(PropertyChangeListener l)
        Adds a PropertyChangeListener who will be notified of value changes.
        Overrides:
        addPropertyChangeListener in class Container
        Parameters:
        l - a value of type 'PropertyChangeListener'
      • 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.
      • getExperiment

        public Experiment getExperiment()
        Gets the currently configured experiment.
        Returns:
        the currently configured experiment.