|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvObjectInteractor
ilog.views.graphic.composite.objectinteractor.IlvCompositeInteractor
public abstract class IlvCompositeInteractor
An object interactor that allows to perform Swing actions defined
on IlvCompositeGraphic instances.
ActionEvent,
IlvCompositeGraphic,
IlvMouseGesture,
IlvEventMap,
Serialized Form| Constructor Summary | |
|---|---|
IlvCompositeInteractor()
Creates a new IlvCompositeInteractor. |
|
| Method Summary | |
|---|---|
boolean |
acceptEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
Tests whether there is an action to perform for the event passes as a parameter. |
abstract IlvCompositeContext |
getCompositeContext(Object source)
Returns the composite context of this IlvCompositeInteractor. |
IlvGraphic |
getEncapsulatedGraphic(IlvGraphic obj)
Returns the graphic object encapsulated by the specified graphic object, if any. |
boolean |
processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
Processes the events. |
| Methods inherited from class ilog.views.IlvObjectInteractor |
|---|
Get, handleExpose, onEnter, onExit, Put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvCompositeInteractor()
IlvCompositeInteractor.
You should not use the constructor to create an instance,
you may share instances of this interactor
by using the IlvObjectInteractor.Get method.
IlvObjectInteractor.Get(java.lang.String)| Method Detail |
|---|
public boolean processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
processEvent in class IlvObjectInteractorobj - The graphic object to which the object interactor is associated.event - The event to handlecontext - The interactor context.
true if the event was handled
by this processEvent invocation,
false otherwise.public IlvGraphic getEncapsulatedGraphic(IlvGraphic obj)
obj - The graphic object to which the object interactor is associated.
public boolean acceptEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
obj - The graphic object to which the object interactor is associated.event - The event to handlecontext - The interactor context.
true if there is an action to invoke for the given event.public abstract IlvCompositeContext getCompositeContext(Object source)
IlvCompositeInteractor.
source - The object on which the event initially occurred. For instance
IlvManagerView.
IlvCompositeContext for this interactor.IlvCompositeContext
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||