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 IlvGraphic getGraphicObject()
public IlvManagerLayer getOldLayer()
public IlvManagerLayer getNewLayer()
public void setGraphicObject(IlvGraphic g)
public void setOldLayer(IlvManagerLayer layer)
public void setNewLayer(IlvManagerLayer layer)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.