Module org.jpo

Class GroupInfoChangeEvent

java.lang.Object
org.jpo.datamodel.GroupInfoChangeEvent

public class GroupInfoChangeEvent extends Object
Objects of this class have details about what was changed in a GroupInfo object. Several things may have changed in a single event.
See Also:
  • Constructor Details

    • GroupInfoChangeEvent

      public GroupInfoChangeEvent(GroupInfo groupInfo)
      Constructor for the GroupInfoChangeEvent
      Parameters:
      groupInfo - The group info
  • Method Details

    • getGroupInfo

      public GroupInfo getGroupInfo()
      returns the GroupInfo object that created the event
      Returns:
      the GroupInfo object that changed
    • setGroupNameChanged

      public void setGroupNameChanged()
      sets the event to reflect that the description changed
    • getGroupNameChanged

      public boolean getGroupNameChanged()
      returns whether the description was changed
      Returns:
      true if the description has changes, false if not
    • setThumbnailChanged

      public void setThumbnailChanged()
      sets the event to reflect that the thumbnail changed
    • getThumbnailChanged

      public boolean getThumbnailChanged()
      returns whether the thumbnail was changed
      Returns:
      ture or false
    • setWasSelected

      public void setWasSelected()
      sets the event to reflect that the selection was set
    • getWasSelected

      public boolean getWasSelected()
      returns whether the event was about the selection status being set
      Returns:
      true or false
    • setWasUnselected

      public void setWasUnselected()
      sets the event to reflect that the selection was removed
    • getWasUnselected

      public boolean getWasUnselected()
      returns whether the selection was removed
      Returns:
      true if the selection was removed, false if not