|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
ilog.views.graphic.composite.objectinteractor.IlvCompositeActionEvent
public class IlvCompositeActionEvent
When an action is triggered by an object interactor on an IlvCompositeGraphic instance,
the action event received by the action is an IlvCompositeActionEvent instance.
The event allows the action to find out the context of the interaction
which triggered it.
IlvCompositeGraphic,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.awt.event.ActionEvent |
|---|
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
IlvCompositeActionEvent(MouseEvent mouseEvent,
String command,
IlvComposite compositeNode,
int childIndex,
IlvCompositeContext compositeContext,
IlvObjectInteractorContext objectIteractorContext)
Constructs an IlvCompositeActionEvent object with modifier keys. |
|
| Method Summary | |
|---|---|
int |
getChildIndex()
Returns the index of the child on which the event occurred |
IlvCompositeContext |
getCompositeContext()
Returns the composite context of this event |
IlvComposite |
getCompositeNode()
Returns the IlvCompositeGraphic instance on which the event occurred |
IlvObjectInteractorContext |
getObjectInteractorContext()
Returns the object interactor which triggered the event |
IlvPoint |
getPoint()
Returns the point in manager coordinates where this event occurred |
IlvTransformer |
getTransformer()
Returns the transformer of the interactor context. |
| Methods inherited from class java.awt.event.ActionEvent |
|---|
getActionCommand, getModifiers, getWhen, paramString |
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, setSource, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvCompositeActionEvent(MouseEvent mouseEvent,
String command,
IlvComposite compositeNode,
int childIndex,
IlvCompositeContext compositeContext,
IlvObjectInteractorContext objectIteractorContext)
IlvCompositeActionEvent object with modifier keys.
Note that passing in an invalid id results in
unspecified behavior.
mouseEvent - mouse event that triggered this actioncommand - a string that may specify a command (possibly one
of several) associated with the eventcompositeNode - the IlvCompositeGraphic on which the event occurredchildIndex - index of the child of the composite graphic on which the event occurredcompositeContext - allows the action listeners to change the SDM model properties of the object being
represented by the composite graphicobjectIteractorContext - the context passed to the IlvCompositeInteractorIlvCompositeContext,
IlvCompositeInteractor| Method Detail |
|---|
public IlvComposite getCompositeNode()
IlvCompositeGraphic instance on which the event occurred
public IlvObjectInteractorContext getObjectInteractorContext()
public IlvCompositeContext getCompositeContext()
IlvCompositeContextpublic IlvTransformer getTransformer()
public IlvPoint getPoint()
public int getChildIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||