public static final class TLspPaintGroupsChangedEvent.Change.ObjectsReplaced extends TLspPaintGroupsChangedEvent.Change
TLspPaintGroupsChangedEvent.Change.ObjectsAdded, TLspPaintGroupsChangedEvent.Change.ObjectsChanged, TLspPaintGroupsChangedEvent.Change.ObjectsMoved, TLspPaintGroupsChangedEvent.Change.ObjectsRemoved, TLspPaintGroupsChangedEvent.Change.ObjectsReplaced, TLspPaintGroupsChangedEvent.Change.Removed
Constructor and Description |
---|
ObjectsReplaced(Object aPaintGroupId,
TLspPaintState aPaintState,
Collection aOldObjects,
Collection aNewObjects)
Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsReplaced paint group change.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Collection |
getNewObjects()
Returns the objects that replace the old objects.
|
Collection |
getOldObjects()
Returns the objects that are replaced by the new objects.
|
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() . |
int |
hashCode() |
String |
toString() |
public ObjectsReplaced(Object aPaintGroupId, TLspPaintState aPaintState, Collection aOldObjects, Collection aNewObjects)
aPaintGroupId
- the id of the paint group in which objects have been replacedaPaintState
- the paint state of the paint groupaOldObjects
- the objects that have been replacedaNewObjects
- the objects that replace aOldObjects
public Object getPaintGroupIdentifier()
public TLspPaintState getPaintState()
getPaintGroupIdentifier()
.getPaintGroupIdentifier()
public Collection getOldObjects()
getNewObjects()
public Collection getNewObjects()
getOldObjects()
public boolean equals(Object o)
equals
in class TLspPaintGroupsChangedEvent.Change
public int hashCode()
hashCode
in class TLspPaintGroupsChangedEvent.Change