Class TLspPaintGroupsChangedEvent.Change.ObjectsMoved
java.lang.Object
com.luciad.view.lightspeed.layer.paintgroup.TLspPaintGroupsChangedEvent.Change
com.luciad.view.lightspeed.layer.paintgroup.TLspPaintGroupsChangedEvent.Change.ObjectsMoved
- Enclosing class:
TLspPaintGroupsChangedEvent.Change
public static final class TLspPaintGroupsChangedEvent.Change.ObjectsMoved
extends TLspPaintGroupsChangedEvent.Change
A paint group change for objects that have been moved from one paint group to another one.
- 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
ConstructorDescriptionObjectsMoved
(Object aOldPaintGroupId, TLspPaintState aOldPaintState, Object aNewPaintGroupId, TLspPaintState aNewPaintState, Collection aMovedObjects) Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsMoved paint group change. -
Method Summary
Modifier and TypeMethodDescriptionboolean
The identifier of the paint group that now containsgetObjects()
.Returns the paint state of the paint group identified bygetNewPaintGroupIdentifier()
.Returns the objects that were moved to another paint group.Returns the identifier of the paint group that previously containedgetObjects()
.Returns the paint state of the paint group identified bygetOldPaintGroupIdentifier()
.int
hashCode()
toString()
-
Constructor Details
-
ObjectsMoved
public ObjectsMoved(Object aOldPaintGroupId, TLspPaintState aOldPaintState, Object aNewPaintGroupId, TLspPaintState aNewPaintState, Collection aMovedObjects) Constructs a new TLspPaintGroupsChangedEvent.Change.ObjectsMoved paint group change.- Parameters:
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 group
-
-
Method Details
-
getObjects
Returns the objects that were moved to another paint group.- Returns:
- the objects that were moved to another paint group
-
getOldPaintGroupIdentifier
Returns the identifier of the paint group that previously containedgetObjects()
.- Returns:
- the identifier of the paint group that previously contained
getObjects()
-
getOldPaintState
Returns the paint state of the paint group identified bygetOldPaintGroupIdentifier()
.- Returns:
- the paint state of the paint group identified by
getOldPaintGroupIdentifier()
-
getNewPaintGroupIdentifier
The identifier of the paint group that now containsgetObjects()
.- Returns:
- the identifier of the paint group that now contains
getObjects()
-
getNewPaintState
Returns the paint state of the paint group identified bygetNewPaintGroupIdentifier()
.- Returns:
- the paint state of the paint group identified by
getNewPaintGroupIdentifier()
-
equals
- Overrides:
equals
in classTLspPaintGroupsChangedEvent.Change
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTLspPaintGroupsChangedEvent.Change
-
toString
-