public class IlvGraphicGroupInteractor extends IlvObjectInteractor
IlvGraphicGroupInteractor
dispatches
user events to a group encapsulated in an IlvGraphicGroup
.
If you use an IlvGraphicGroup
to encapsulate a
prototype instance that reacts to mouse or keyboard events,
you must set this interactor on the IlvGraphicGroup
,
otherwise the group will not receive any event.
Note: This interactor works only with IlvGraphicGroup
s.
If you attach it to another graphic object, it will do nothing.
IlvGraphicGroup
,
Serialized FormConstructor and Description |
---|
IlvGraphicGroupInteractor()
Creates a new
IlvGraphicGroupInteractor . |
Modifier and Type | Method and Description |
---|---|
boolean |
processEvent(IlvGraphic g,
AWTEvent event,
IlvObjectInteractorContext context)
Dispatches the events to the interactors attached to
the elements of the group.
|
Get, handleExpose, onEnter, onExit, Put
public IlvGraphicGroupInteractor()
IlvGraphicGroupInteractor
.public boolean processEvent(IlvGraphic g, AWTEvent event, IlvObjectInteractorContext context)
processEvent
in class IlvObjectInteractor
g
- 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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.