Class PDeviceSettopRemoveDlg

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

public class PDeviceSettopRemoveDlg extends JDialog implements ActionListener
Dialog that confirms and removes a device
Version:
%version: 5 % %date_modified: Fri Mar 01 17:17:24 2002 %
Author:
anthony
See Also:
  • Constructor Details

    • PDeviceSettopRemoveDlg

      public PDeviceSettopRemoveDlg(Frame frame, String title, boolean modal, PModelHandle deviceModel, int mode)
      Create a new device settop remove dialog
      Parameters:
      Frame - - parent frame
      String - - title
      boolean - - modal flag
      PModelHandle - - device model
      int - - transaction mode (queued or confirmed)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Dialog event - action performed (i.e. a button was pressed)
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      Action - Event
    • addNotify

      public void addNotify()
      Overridden to apply style to some of the fonts
      Overrides:
      addNotify in class Dialog
    • removeTheDevice

      public boolean removeTheDevice(boolean pollToo)
      Remove the device
      Parameters:
      boolean - - poll the device too?
      Returns:
      void
    • dispose

      public void dispose()
      Cleanup the dialog...
      Overrides:
      dispose in class Window
      Parameters:
      Action - Event
    • pollTheDevice

      public boolean pollTheDevice()
      Poll the device
      Returns:
      boolean - true : success; false: failure
    • showDialog

      public boolean showDialog()
      Show the dialog
      Returns:
      boolean - true : success; false: failure
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      get the controllers class name
      Returns:
      String
      Throws:
      RemoteException