Class SetupModePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SetupModePanel extends JPanel
This panel switches between simple and advanced experiment setup panels.
Version:
$Revision: 15294 $
Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • SetupModePanel

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

    • 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'
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener l)
      Removes a PropertyChangeListener who will be notified of value changes.
      Overrides:
      removePropertyChangeListener in class Component
      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.