Class PDeviceSearchDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
PDeviceSettopSearchDialog

public class PDeviceSearchDialog extends JDialog implements ActionListener
Device search dialog.
See Also:
  • Constructor Details

    • PDeviceSearchDialog

      public PDeviceSearchDialog(String title, boolean modal, String deviceClass)
      Creates a new device search dialog without parent frame.
      Parameters:
      title - dialog box title
      modal - modal or not
      deviceClass - device class
    • PDeviceSearchDialog

      public PDeviceSearchDialog(String title, String deviceClass)
      Creates a new modal device search dialog without parent frame.
      Parameters:
      title - dialog box title
      deviceClass - device class
    • PDeviceSearchDialog

      public PDeviceSearchDialog(Frame frame, String title, boolean modal, String deviceClass)
      Creates a new device search dialog.
      Parameters:
      frame - parent frame
      title - dialog box title
      modal - modal or not
      deviceClass - device class
  • Method Details

    • getSelectedDevice

      public PModelHandle getSelectedDevice()
      Retrieves currently selected device.
      Returns:
      currently selected device model handle.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Action handler for Open and Cancel buttons.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - the event.