Class TLspPaintGroupsChangedEvent.Change.ObjectsReplaced
java.lang.Object
com.luciad.view.lightspeed.layer.paintgroup.TLspPaintGroupsChangedEvent.Change
com.luciad.view.lightspeed.layer.paintgroup.TLspPaintGroupsChangedEvent.Change.ObjectsReplaced
- Enclosing class:
TLspPaintGroupsChangedEvent.Change
public static final class TLspPaintGroupsChangedEvent.Change.ObjectsReplaced
extends TLspPaintGroupsChangedEvent.Change
A paint group change for objects that have been replaced by other objects.
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.luciad.view.lightspeed.layer.paintgroup.TLspPaintGroupsChangedEvent.Change
TLspPaintGroupsChangedEvent.Change.ObjectsAdded, TLspPaintGroupsChangedEvent.Change.ObjectsChanged, TLspPaintGroupsChangedEvent.Change.ObjectsMoved, TLspPaintGroupsChangedEvent.Change.ObjectsRemoved, TLspPaintGroupsChangedEvent.Change.ObjectsReplaced, TLspPaintGroupsChangedEvent.Change.Removed
-
Constructor Summary
ConstructorDescriptionObjectsReplaced
(Object aPaintGroupId, TLspPaintState aPaintState, Collection aOldObjects, Collection aNewObjects) Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsReplaced paint group change. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the objects that replace the old objects.Returns the objects that are replaced by the new objects.Returns the identifier of the paint group that has changed.Returns the paint state of the paint group identified bygetPaintGroupIdentifier()
.int
hashCode()
toString()
-
Constructor Details
-
ObjectsReplaced
public ObjectsReplaced(Object aPaintGroupId, TLspPaintState aPaintState, Collection aOldObjects, Collection aNewObjects) Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsReplaced paint group change.- Parameters:
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 replaceaOldObjects
-
-
Method Details
-
getPaintGroupIdentifier
Returns the identifier of the paint group that has changed.- Returns:
- the identifier of the paint group that has changed
-
getPaintState
Returns the paint state of the paint group identified bygetPaintGroupIdentifier()
.- Returns:
- the paint state of the paint group identified by
getPaintGroupIdentifier()
-
getOldObjects
Returns the objects that are replaced by the new objects. The sizes of new and old objects may differ.- Returns:
- a objects are replaced
- See Also:
-
getNewObjects
Returns the objects that replace the old objects. The sizes of new and old objects may differ.- Returns:
- the objects that replace the old objects
- See Also:
-
toString
-
equals
- Overrides:
equals
in classTLspPaintGroupsChangedEvent.Change
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTLspPaintGroupsChangedEvent.Change
-