ilog.views.event
Class ObjectLayerChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.views.event.ManagerEvent
          extended by ilog.views.event.ManagerContentChangedEvent
              extended by ilog.views.event.ObjectLayerChangedEvent
All Implemented Interfaces:
Serializable

public final class ObjectLayerChangedEvent
extends ManagerContentChangedEvent

An ObjectLayerChangedEvent event is fired after a graphic object changes layer in a manager.

See Also:
ManagerContentChangedListener, Serialized Form

Field Summary
 
Fields inherited from class ilog.views.event.ManagerContentChangedEvent
ADJUSTMENT_END, OBJECT_ADDED, OBJECT_BBOX_CHANGED, OBJECT_LAYER_CHANGED, OBJECT_REMOVED, OBJECT_VISIBILITY_CHANGED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ObjectLayerChangedEvent(IlvManager manager)
          Creates the event.
 
Method Summary
 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.
 
Methods inherited from class ilog.views.event.ManagerContentChangedEvent
getType, isAdjusting, setAdjusting, setType
 
Methods inherited from class ilog.views.event.ManagerEvent
getManager
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectLayerChangedEvent

public ObjectLayerChangedEvent(IlvManager manager)
Creates the event.

Parameters:
manager - The manager source of the event.
Method Detail

getGraphicObject

public final IlvGraphic getGraphicObject()
Returns the graphic object concerned by this event.


getOldLayer

public final IlvManagerLayer getOldLayer()
Returns the layer where the object was removed.


getNewLayer

public final IlvManagerLayer getNewLayer()
Returns the layer where the object was inserted.


setGraphicObject

public final void setGraphicObject(IlvGraphic g)
Changes the graphic object of the event. You should not call this method.


setOldLayer

public final void setOldLayer(IlvManagerLayer layer)
Sets the layer where the object was removed. You should not call this method.


setNewLayer

public final void setNewLayer(IlvManagerLayer layer)
Sets the layer where the object was inserted. You should not call this method.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.