Class SNMPTrapHostPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.nt.udc.gui.OSAAdminBasePanel
com.nt.udc.admin.client.gui.SNMPTrapHostPanel
All Implemented Interfaces:
com.nt.udc.gui.OSAAdminPanelInterface, AcctEventListener, ActionListener, ImageObserver, MenuContainer, Serializable, Remote, EventListener, Accessible

public class SNMPTrapHostPanel extends com.nt.udc.gui.OSAAdminBasePanel implements ActionListener
Panel for adding, deleting and modifing SNMP trap hosts
See Also:
  • Constructor Details

    • SNMPTrapHostPanel

      public SNMPTrapHostPanel()
      Constructs this panel with empty host list
    • SNMPTrapHostPanel

      public SNMPTrapHostPanel(Vector inHosts)
      Constructs the panel and populates the list with the given Vector of hosts
      Parameters:
      inHosts - Vector of host objects to display
  • Method Details

    • fieldsValid

      public boolean fieldsValid()
    • setButtonState

      public void setButtonState(boolean state)
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener
    • beforeShowing

      public boolean beforeShowing()
      Description copied from class: com.nt.udc.gui.OSAAdminBasePanel
      Called before panel is displayed in the Admin GUI. That is, when the user selects the desired panel, but before it is actually displayed.
      This is useful for performing any updates that may need to be made (for example, a read from the Admin Server) to the data in the panel before it is actually displayed.
      Specified by:
      beforeShowing in interface com.nt.udc.gui.OSAAdminPanelInterface
      Overrides:
      beforeShowing in class com.nt.udc.gui.OSAAdminBasePanel
      Returns:
      false, if the panel should not be displayed.
    • afterShowing

      public void afterShowing()
      Description copied from class: com.nt.udc.gui.OSAAdminBasePanel
      Called after panel is displayed in the Admin GUI. Sets panelIsShowing to true.
      Specified by:
      afterShowing in interface com.nt.udc.gui.OSAAdminPanelInterface
      Overrides:
      afterShowing in class com.nt.udc.gui.OSAAdminBasePanel