public static final class TLspPaintGroupsChangedEvent.Change.ObjectsChanged extends TLspPaintGroupsChangedEvent.Change
TLspPaintGroupsChangedEvent.Change.ObjectsAdded, TLspPaintGroupsChangedEvent.Change.ObjectsChanged, TLspPaintGroupsChangedEvent.Change.ObjectsMoved, TLspPaintGroupsChangedEvent.Change.ObjectsRemoved, TLspPaintGroupsChangedEvent.Change.ObjectsReplaced, TLspPaintGroupsChangedEvent.Change.Removed
Constructor and Description |
---|
ObjectsChanged(Object aPaintGroupId,
TLspPaintState aPaintState,
Collection aObjects)
Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsChanged paint group change.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getObjects()
Returns the objects that have changed.
|
Object |
getPaintGroupIdentifier()
Returns the identifier of the paint group that has changed.
|
TLspPaintState |
getPaintState()
Returns the paint state of the paint group identified by
getPaintGroupIdentifier() . |
String |
toString() |
equals, hashCode
public ObjectsChanged(Object aPaintGroupId, TLspPaintState aPaintState, Collection aObjects)
aPaintGroupId
- the id of the paint group in which objects have changed.aPaintState
- the paint state of the paint groupaObjects
- the objects that have changed in the paint grouppublic Collection getObjects()
public Object getPaintGroupIdentifier()
public TLspPaintState getPaintState()
getPaintGroupIdentifier()
.getPaintGroupIdentifier()