Class NodesLogicalViewPanel

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

public class NodesLogicalViewPanel extends com.nt.udc.gui.SettingsListDetailsPanel implements ActionListener, AcctEventListener, ItemListener
See Also:
  • Field Details

    • hostFieldsDirty

      protected boolean hostFieldsDirty
    • nodeFieldsDirty

      protected boolean nodeFieldsDirty
  • Constructor Details

    • NodesLogicalViewPanel

      public NodesLogicalViewPanel()
  • Method Details

    • updateToggleMenuItems

      public void updateToggleMenuItems()
    • 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
    • beforeHiding

      public boolean beforeHiding()
      Description copied from class: com.nt.udc.gui.OSAAdminBasePanel
      Called before the panel is hidden in the Admin GUI. That is, when the user selects the desired panel, but before the panel is actually hidden.
      This is useful for displaying a dialog to allow the user to save any changes that may have been made to the panel before the next panel is displayed.
      Specified by:
      beforeHiding in interface com.nt.udc.gui.OSAAdminPanelInterface
      Overrides:
      beforeHiding in class com.nt.udc.gui.OSAAdminBasePanel
      Returns:
      false, if the panel should not be removed from the screen.
    • addGUIComponents

      public void addGUIComponents()
      Overrides:
      addGUIComponents in class com.nt.udc.gui.SettingsListDetailsPanel
    • setNextNewNodeLabel

      public void setNextNewNodeLabel(int i)
    • getNextNewNodeLabel

      public int getNextNewNodeLabel()
      Look at the integer labels of all currently existing nodes, and return the max plus one. Set "nextNewNodeLabel" to the value being returned.
    • actionPerformed

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

      public void itemStateChanged(ItemEvent event)
      Specified by:
      itemStateChanged in interface ItemListener
    • fetchNodeHostInfo

      protected void fetchNodeHostInfo()
    • nodeManagersAdded

      public void nodeManagersAdded(Vector nmList)
      Indicates that one or more NodeManagers were added. The Vector associated with each NMItem object will represent all the nodes that are being managed by that Node Manager.
      Specified by:
      nodeManagersAdded in interface AcctEventListener
      Overrides:
      nodeManagersAdded in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nodeManager - Vector of NMItem objects, each representing a Node Manager that was added. Each NMItem's child (node) Vector will contain all nodes managed by that Node Manager.
      See Also:
    • nodeManagersRemoved

      public void nodeManagersRemoved(Vector nmList)
      Indicates that one or more NodeManagers were removed.
      Specified by:
      nodeManagersRemoved in interface AcctEventListener
      Overrides:
      nodeManagersRemoved in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nmList - Vector of NMItem objects representing the Node Managers that were removed.
      See Also:
    • nodeManagerChanged

      public void nodeManagerChanged(com.nt.udc.admin.NMItem nmItem)
      Indicates that the properties of a Node Manager have changed.
      Specified by:
      nodeManagerChanged in interface AcctEventListener
      Overrides:
      nodeManagerChanged in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nmItem - NMItem object representing the Node Manager that changed.
      See Also:
    • nodesAdded

      public void nodesAdded(com.nt.udc.admin.NMItem nmItem)
      Indicates that a Node has been added to a particular Node Manager.
      Specified by:
      nodesAdded in interface AcctEventListener
      Overrides:
      nodesAdded in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nmItem - NMItem object which represents the Node Manager managing the node that was added. The Vector associated with nodeManager will contain only the node that was added.
      See Also:
    • nodesRemoved

      public void nodesRemoved(com.nt.udc.admin.NMItem nmItem)
      Indicates that a Node has been removed from a particular Node Manager.
      Specified by:
      nodesRemoved in interface AcctEventListener
      Overrides:
      nodesRemoved in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nmItem - NMItem object which represents the Node Manager managing the node that was removed. The Vector associated with nodeManager will contain only the node(s) that was(were) removed.
      See Also:
    • nodeChanged

      public void nodeChanged(com.nt.udc.admin.NMItem nmItem)
      Indicates that the properties of a Node have changed.
      Specified by:
      nodeChanged in interface AcctEventListener
      Overrides:
      nodeChanged in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      nmItem - NMItem object which represents the Node Manager whose node changed. The Vector associated with nodeManager will contain the node that changed.
      See Also:
    • fileChanged

      public void fileChanged(com.nt.udc.admin.FileItem file)
      Indicates that a system file changed.
      Specified by:
      fileChanged in interface AcctEventListener
      Overrides:
      fileChanged in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      file - FileItem object representing the system file that changed.
      See Also:
    • adminServerChanged

      public void adminServerChanged(StatusMessage sm)
      Indicates that status of the Admin Server has changed.
      Specified by:
      adminServerChanged in interface AcctEventListener
      Overrides:
      adminServerChanged in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      sm - A StatusMessage object containing the new status of the Admin Server.
      See Also:
    • systemUpdate

      public void systemUpdate(SystemModel model)
      Indicates that the system has substantially changed.
      Specified by:
      systemUpdate in interface AcctEventListener
      Overrides:
      systemUpdate in class com.nt.udc.gui.OSAAdminBasePanel
      Parameters:
      model - SystemModel representing the current state of the system.
      See Also: