Class GroupsDataEvent


  • public class GroupsDataEvent
    extends java.lang.Object
    Defines an event that encapsulates changes to a list of groups.
    Since:
    3.5.0
    Author:
    tomyeh
    See Also:
    GroupsModel, GroupsDataListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONTENTS_CHANGED
      Identifies one or more changes in the contents of a particular group.
      static int DISABLE_CLIENT_UPDATE
      Identified the state that Component's client update to be disabled
      static int ENABLE_CLIENT_UPDATE
      Identified the state that Component's client update to be enabled
      static int GROUPS_ADDED
      Identifies the addition of one or more contiguous items to the list.
      static int GROUPS_CHANGED
      Identifies one or more changes in the groups contents.
      static int GROUPS_OPENED
      Identifies the Group opened.
      static int GROUPS_REMOVED
      Identifies the removal of one or more contiguous items from the list.
      static int GROUPS_RESET
      Identifies the Group is reset.
      static int INTERVAL_ADDED
      Identifies the addition of one or more contiguous items to a particular group.
      static int INTERVAL_REMOVED
      Identifies the removal of one or more contiguous items from a particular group.
      static int MULTIPLE_CHANGED
      Identified the state of Selectable.isMultiple() is changed.
      static int SELECTION_CHANGED
      Identifies the selection of the lists has changed.
      static int STRUCTURE_CHANGED
      Identifies the structure of the lists has changed.
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupsDataEvent​(GroupsModel model, int type, int groupIndex, int index0, int index1)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getGroupIndex()
      Returns the index of the group.
      int getIndex0()
      Returns the lower index of the change range.
      int getIndex1()
      Returns the upper index of the change range.
      GroupsModel getModel()
      Returns the list model that fires this event.
      int getType()
      Returns the event type.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait