Class UserAdminPanel

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.UserAdminPanel
All Implemented Interfaces:
com.nt.udc.gui.OSAAdminPanelInterface, AcctEventListener, ActionListener, ImageObserver, MenuContainer, Serializable, Remote, EventListener, Accessible

public class UserAdminPanel extends com.nt.udc.gui.OSAAdminBasePanel implements ActionListener
Panel which contains fields for changing the password associated with a particular user id
See Also:
  • Field Details

  • Constructor Details

    • UserAdminPanel

      public UserAdminPanel()
      Constructs this panel with empty user list
    • UserAdminPanel

      public UserAdminPanel(Vector inUserList, boolean canModify)
      Constructs the panel and populates the list with the given Vector of users
      Parameters:
      inUserList - Vector of User objects to display
      canModify - Indicates whether users can be added or deleted; if false, only the "Change Password" button will be visible
  • 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