public static final class TLspPaintGroupsChangedEvent.Change.ObjectsMoved extends TLspPaintGroupsChangedEvent.Change
TLspPaintGroupsChangedEvent.Change.ObjectsAdded, TLspPaintGroupsChangedEvent.Change.ObjectsChanged, TLspPaintGroupsChangedEvent.Change.ObjectsMoved, TLspPaintGroupsChangedEvent.Change.ObjectsRemoved, TLspPaintGroupsChangedEvent.Change.ObjectsReplaced, TLspPaintGroupsChangedEvent.Change.Removed
Constructor and Description |
---|
ObjectsMoved(Object aOldPaintGroupId,
TLspPaintState aOldPaintState,
Object aNewPaintGroupId,
TLspPaintState aNewPaintState,
Collection aMovedObjects)
Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsMoved paint group change.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
getNewPaintGroupIdentifier()
The identifier of the paint group that now contains
getObjects() . |
TLspPaintState |
getNewPaintState()
Returns the paint state of the paint group identified by
getNewPaintGroupIdentifier() . |
Collection |
getObjects()
Returns the objects that were moved to another paint group.
|
Object |
getOldPaintGroupIdentifier()
Returns the identifier of the paint group that previously contained
getObjects() . |
TLspPaintState |
getOldPaintState()
Returns the paint state of the paint group identified by
getOldPaintGroupIdentifier() . |
int |
hashCode() |
String |
toString() |
public ObjectsMoved(Object aOldPaintGroupId, TLspPaintState aOldPaintState, Object aNewPaintGroupId, TLspPaintState aNewPaintState, Collection aMovedObjects)
aOldPaintGroupId
- the id of the paint group that previously contained the objectsaOldPaintState
- the paint state of the old paint groupaNewPaintGroupId
- the id of the paint group to which the objects have been movedaNewPaintState
- the paint state of the old paint groupaMovedObjects
- the objects that have been moved from the old to the new paint grouppublic Collection getObjects()
public Object getOldPaintGroupIdentifier()
getObjects()
.getObjects()
public TLspPaintState getOldPaintState()
getOldPaintGroupIdentifier()
.getOldPaintGroupIdentifier()
public Object getNewPaintGroupIdentifier()
getObjects()
.getObjects()
public TLspPaintState getNewPaintState()
getNewPaintGroupIdentifier()
.getNewPaintGroupIdentifier()
public boolean equals(Object o)
equals
in class TLspPaintGroupsChangedEvent.Change
public int hashCode()
hashCode
in class TLspPaintGroupsChangedEvent.Change