类 HostListPanel

所有已实现的接口:
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: 7059 $
作者:
Mark Hall (mhall@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • 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.
  • 方法详细资料

    • 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.
      指定者:
      actionPerformed 在接口中 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