Class SimpleSetupPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SimpleSetupPanel extends JPanel
This panel controls the configuration of an experiment.

If KOML is in the classpath the experiments can also be serialized to XML instead of a binary format.

Version:
$Revision: 7059 $
Author:
Richard kirkby (rkirkby@cs.waikato.ac.nz), FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • SimpleSetupPanel

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

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

    • setModePanel

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

      public boolean setExperiment(Experiment exp)
      Sets the experiment to configure.
      Parameters:
      exp - a value of type 'Experiment'
      Returns:
      true if experiment could be configured, false otherwise
    • getExperiment

      public Experiment getExperiment()
      Gets the currently configured experiment.
      Returns:
      the currently configured experiment.
    • 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.
      Overrides:
      removePropertyChangeListener in class Component
      Parameters:
      l - a value of type 'PropertyChangeListener'