Class MemberInfoDialog

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

public class MemberInfoDialog extends JDialog implements ActionListener, FocusListener, ItemListener
Class which displays a dialog for creating/modifying GroupMember information.
See Also:
  • Constructor Details

    • MemberInfoDialog

      public MemberInfoDialog(Frame owner, String title)
      Constructor for displaying an "empty" dialog.
      Parameters:
      owner - Frame which launched this dialog.
      title - String to display in the dialog's titlebar.
    • MemberInfoDialog

      public MemberInfoDialog(Frame owner, String title, com.nt.udc.admin.GroupMember thisMember)
      Constructor for displaying information pertaining to the given GroupMember.
      Parameters:
      owner - Frame which launched this dialog.
      title - String to display in the dialog's titlebar.
      thisMember - Object to display.
  • Method Details

    • getGroupMember

      public static com.nt.udc.admin.GroupMember getGroupMember(Frame owner, String title)
      Static Method for displaying the dialog and retrieving the information that the user entered.
      Parameters:
      owner - Frame which launched this dialog.
      title - String to display in the dialog's titlebar.
      Returns:
      GroupMember object with information provided by the user.
    • changeGroupMember

      public static void changeGroupMember(Frame owner, String title, com.nt.udc.admin.GroupMember thisMember)
      Static Method for displaying the information pertaining to the given GroupMember and allows for modification.
      Parameters:
      owner - Frame which launched this dialog.
      title - String to display in the dialog's titlebar.
      thisMember - Object to display.
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Responds to button and keyboard actions within the panel.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      event - Event that was fired.
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      Responds to selections of the Radio Buttons.
      Specified by:
      itemStateChanged in interface ItemListener
      Parameters:
      event - Event that was fired.
    • focusGained

      public void focusGained(FocusEvent event)
      Responds to changes in Focus.
      Specified by:
      focusGained in interface FocusListener
      Parameters:
      event - Event that was fired.
    • focusLost

      public void focusLost(FocusEvent event)
      Required as part of FocusListener implementation. This method does not do anything.
      Specified by:
      focusLost in interface FocusListener