java.lang.Object
org.jpo.datamodel.GroupInfoChangeEvent
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 Summary
ConstructorDescriptionGroupInfoChangeEvent
(GroupInfo groupInfo) Constructor for the GroupInfoChangeEvent -
Method Summary
Modifier and TypeMethodDescriptionreturns the GroupInfo object that created the eventboolean
returns whether the description was changedboolean
returns whether the thumbnail was changedboolean
returns whether the event was about the selection status being setboolean
returns whether the selection was removedvoid
sets the event to reflect that the description changedvoid
sets the event to reflect that the thumbnail changedvoid
sets the event to reflect that the selection was setvoid
sets the event to reflect that the selection was removed
-
Constructor Details
-
GroupInfoChangeEvent
Constructor for the GroupInfoChangeEvent- Parameters:
groupInfo
- The group info
-
-
Method Details
-
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
-