Class AlgorithmListPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class AlgorithmListPanel extends JPanel implements ActionListener
This panel controls setting a list of algorithms for an experiment to iterate over.
Version:
$Revision: 15303 $
Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • AlgorithmListPanel

      public AlgorithmListPanel(Experiment exp)
      Creates the algorithm list panel with the given experiment.
      Parameters:
      exp - a value of type 'Experiment'
    • AlgorithmListPanel

      public AlgorithmListPanel()
      Create the algorithm list panel initially disabled.
  • Method Details

    • terminate

      public void terminate()
      Terminates this panel, which means, in the case of this panel, that it disposes of the property dialog and removes the relevant listeners from the GenericObjectEditor and the GOEPanel.
    • setExperiment

      public void setExperiment(Experiment exp)
      Tells the panel to act on a new experiment.
      Parameters:
      exp - a value of type 'Experiment'
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Handle actions when buttons get pressed.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - a value of type 'ActionEvent'
    • main

      public static void main(String[] args)
      Tests out the algorithm list panel from the command line.
      Parameters:
      args - ignored