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
ConstructorsConstructorDescriptionGroupInfoChangeEvent(GroupInfo groupInfo) Constructor for the GroupInfoChangeEvent -
Method Summary
Modifier and TypeMethodDescriptionreturns the GroupInfo object that created the eventbooleanreturns whether the description was changedbooleanreturns whether the thumbnail was changedbooleanreturns whether the event was about the selection status being setbooleanreturns whether the selection was removedvoidsets the event to reflect that the description changedvoidsets the event to reflect that the thumbnail changedvoidsets the event to reflect that the selection was setvoidsets 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
-