Class GeneratorPropertyIteratorPanel

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

public class GeneratorPropertyIteratorPanel extends JPanel implements ActionListener
This panel controls setting a list of values for an arbitrary resultgenerator property for an experiment to iterate over.
Version:
$Revision: 10295 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • GeneratorPropertyIteratorPanel

      public GeneratorPropertyIteratorPanel()
      Creates the property iterator panel initially disabled.
    • GeneratorPropertyIteratorPanel

      public GeneratorPropertyIteratorPanel(Experiment exp)
      Creates the property iterator panel and sets the experiment.
      Parameters:
      exp - a value of type 'Experiment'
  • Method Details

    • getEditorActive

      public boolean getEditorActive()
      Returns true if the editor is currently in an active status---that is the array is active and able to be edited.
      Returns:
      true if editor is active
    • setExperiment

      public void setExperiment(Experiment exp)
      Sets the experiment which will have the custom properties edited.
      Parameters:
      exp - a value of type 'Experiment'
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Handles the various button clicking type activities.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - a value of type 'ActionEvent'
    • addActionListener

      public void addActionListener(ActionListener newA)
      Add a listener interested in kowing about editor status changes
      Parameters:
      newA - an listener to add
    • main

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