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.
$Revision: 8034 $
Mark Hall (
See Also:
  • Constructor Details

    • HostListPanel

      public HostListPanel(RemoteExperiment exp)
      Creates the host list panel with the given experiment.
      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.
      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
      e - a value of type 'ActionEvent'
    • main

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