public static final class TLspPaintGroupsChangedEvent.Change.ObjectsAdded extends TLspPaintGroupsChangedEvent.Change
TLspPaintGroupsChangedEvent.Change.ObjectsAdded, TLspPaintGroupsChangedEvent.Change.ObjectsChanged, TLspPaintGroupsChangedEvent.Change.ObjectsMoved, TLspPaintGroupsChangedEvent.Change.ObjectsRemoved, TLspPaintGroupsChangedEvent.Change.ObjectsReplaced, TLspPaintGroupsChangedEvent.Change.Removed
Constructor and Description |
---|
ObjectsAdded(Object aPaintGroupId,
TLspPaintState aPaintState,
Collection aAddedObjects)
Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsAdded paint group change.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getObjects()
Returns the objects that were added to the paint group.
|
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 ObjectsAdded(Object aPaintGroupId, TLspPaintState aPaintState, Collection aAddedObjects)
aPaintGroupId
- the id of the paint group to which objects were addedaPaintState
- the paint state of the paint groupaAddedObjects
- the objects that have been added to the paint grouppublic Object getPaintGroupIdentifier()
public Collection getObjects()
public TLspPaintState getPaintState()
getPaintGroupIdentifier()
.getPaintGroupIdentifier()