public final class ObjectLayerChangedEvent extends ManagerContentChangedEvent
ObjectLayerChangedEvent
event is fired after
a graphic object changes layer in a manager.ManagerContentChangedListener
,
Serialized FormADJUSTMENT_END, OBJECT_ADDED, OBJECT_BBOX_CHANGED, OBJECT_LAYER_CHANGED, OBJECT_REMOVED, OBJECT_VISIBILITY_CHANGED
source
Constructor and Description |
---|
ObjectLayerChangedEvent(IlvManager manager)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
getGraphicObject()
Returns the graphic object concerned
by this event.
|
IlvManagerLayer |
getNewLayer()
Returns the layer where the object was inserted.
|
IlvManagerLayer |
getOldLayer()
Returns the layer where the object was removed.
|
void |
setGraphicObject(IlvGraphic g)
Changes the graphic object of the event.
|
void |
setNewLayer(IlvManagerLayer layer)
Sets the layer where the object was inserted.
|
void |
setOldLayer(IlvManagerLayer layer)
Sets the layer where the object was removed.
|
getType, isAdjusting, setAdjusting, setType
getManager
getSource, toString
public ObjectLayerChangedEvent(IlvManager manager)
manager
- The manager source of the event.public final IlvGraphic getGraphicObject()
public final IlvManagerLayer getOldLayer()
public final IlvManagerLayer getNewLayer()
public final void setGraphicObject(IlvGraphic g)
public final void setOldLayer(IlvManagerLayer layer)
public final void setNewLayer(IlvManagerLayer layer)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.