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: 7059 $
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 setup mode.
      Parameters:
      exp - the experiment to configure
    • switchToSimple

      public void switchToSimple(Experiment exp)
      Switches to the simple setup mode only if allowed to.
      Parameters:
      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'
    • getExperiment

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