public static class IlvGraphicSet.DelegateObjectInteractor extends IlvObjectInteractor
IlvGraphicSet
objects.
Use this interactor as object interactor of the graphic set if any of
the contained objects have object interactors. The delegating interactor
forwards all events to the object interactor of the designated subobject.
This interactor is not installed by default. You can call
IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor)
to install it.
IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor)
,
Serialized FormConstructor and Description |
---|
DelegateObjectInteractor()
Creates an instance of this interactor.
|
Modifier and Type | Method and Description |
---|---|
void |
handleExpose(IlvGraphic object,
Graphics g,
IlvObjectInteractorContext context)
Called by the view when the view is drawn.
|
boolean |
processEvent(IlvGraphic object,
AWTEvent event,
IlvObjectInteractorContext context)
Processes the events.
|
Get, onEnter, onExit, Put
public DelegateObjectInteractor()
public boolean processEvent(IlvGraphic object, AWTEvent event, IlvObjectInteractorContext context)
processEvent
in class IlvObjectInteractor
object
- The graphic object.event
- The event to process.context
- The context in which the event occurred.true
if the event was handled
by this processEvent
invocation,
false
otherwise.public void handleExpose(IlvGraphic object, Graphics g, IlvObjectInteractorContext context)
handleExpose
in class IlvObjectInteractor
object
- The graphic object to which the object interactor is associated.g
- The Graphics
where obj
is drawn.context
- The interactor context.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.