Class HostListPanel

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

public class HostListPanel extends JPanel implements ActionListener
This panel controls setting a list of hosts for a RemoteExperiment to use.
Version:
$Revision: 8034 $
Author:
Mark Hall (mhall@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • HostListPanel

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

      public HostListPanel()
      Create the host list panel initially disabled.
  • Method Details

    • setExperiment

      public void setExperiment(RemoteExperiment 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 text is entered into the host field or the delete button is pressed.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - a value of type 'ActionEvent'
    • main

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