ilog.views.event
Class ManagerContentAboutToChangeEvent
java.lang.Object
java.util.EventObject
ilog.views.event.ManagerEvent
ilog.views.event.ManagerContentAboutToChangeEvent
- All Implemented Interfaces:
- Serializable
public class ManagerContentAboutToChangeEvent
- extends ManagerEvent
A ManagerContentAboutToChangeEvent event is fired
by the manager before a graphic object is changed or deleted.
- Since:
- JViews 8.1
- See Also:
ManagerContentMonitor,
Serialized Form
|
Field Summary |
static int |
OBJECT_BBOX_CHANGE
The type of the event when the bounding rectangle of an object is about
to be changed. |
static int |
OBJECT_REMOVE
The type of the event when an object is about to be removed from a manager. |
OBJECT_REMOVE
public static final int OBJECT_REMOVE
- The type of the event when an object is about to be removed from a manager.
- See Also:
- Constant Field Values
OBJECT_BBOX_CHANGE
public static final int OBJECT_BBOX_CHANGE
- The type of the event when the bounding rectangle of an object is about
to be changed.
- See Also:
- Constant Field Values
ManagerContentAboutToChangeEvent
public ManagerContentAboutToChangeEvent(IlvManager manager,
IlvGraphic graphic,
int type)
- Creates a instance of a
ManagerContentAboutToChangeEvent.
- Parameters:
manager - The manager containing the specified graphic object.graphic - The graphic object which is about to be changed or to be deleted.type - The type of the event. It must be either OBJECT_REMOVE
or OBJECT_BBOX_CHANGE.
getGraphicObject
public IlvGraphic getGraphicObject()
- Returns the graphic object about to be changed or about to be deleted.
- Returns:
- The graphic object about to be changed or about to be deleted.
getType
public int getType()
- Returns the type of the event, either
OBJECT_REMOVE
or OBJECT_BBOX_CHANGE.
- Returns:
- The type of the event.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.