public abstract class IlvCompositeInteractor extends IlvObjectInteractor
IlvCompositeGraphic instances.ActionEvent,
IlvCompositeGraphic,
IlvMouseGesture,
IlvEventMap,
Serialized Form| Constructor and Description |
|---|
IlvCompositeInteractor()
Creates a new
IlvCompositeInteractor. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Get, handleExpose, onEnter, onExit, Putpublic 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.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 with 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© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.