Class IPAddrPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener

public class IPAddrPanel extends JPanel implements ActionListener, ListSelectionListener
Panel for displaying and modifying the GroupMember List information.
See Also:
  • Field Details

    • panelIsDirty

      protected boolean panelIsDirty
  • Constructor Details

    • IPAddrPanel

      public IPAddrPanel(com.nt.udc.admin.Group gitem)
      Constructor.
      Parameters:
      gitem - The Group whose members this panel is to display.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Responds to button events.
      Specified by:
      actionPerformed in interface ActionListener
    • valueChanged

      public void valueChanged(ListSelectionEvent event)
      Responds to changes in the ComboBox selection.
      Specified by:
      valueChanged in interface ListSelectionListener
    • setGroup

      public void setGroup(com.nt.udc.admin.Group newGroup)
      Updates the Group information that is being displayed by the panel.
      Parameters:
      newGroup - Group which this panel will display member information for.
    • updateFields

      public void updateFields()
      Updates the fields with the latest information from the Group.
    • isDirty

      public boolean isDirty()
      Indicates whether the information in the panel has been changed.
      Returns:
      boolean value indicating whether any information on this panel has changed.
    • clean

      public void clean()
      Sets this panel's "panelIsDirty" field to false.
    • refresh

      public void refresh()
      Updates the fields with the latest information. This method calls updateFields() and revalidates the list.
    • getMemberList

      public com.nt.udc.admin.GroupMember[] getMemberList()
      Returns the member list that is being displayed.
      Returns:
      array of GroupMembers that are being displayed.
    • setSelectedMember

      public void setSelectedMember(com.nt.udc.admin.GroupMember member)
      Changes the selection of the list to the given member.
      Parameters:
      member - item to select