public class IlvGraphicHandleInteractor extends IlvObjectInteractor
IlvGraphicHandleSelection
.Constructor and Description |
---|
IlvGraphicHandleInteractor()
Creates a new
IlvGraphicHandleInteractor . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptObject(IlvGraphic obj)
Returns whether the interactor should deal with the object.
|
protected IlvTransformer |
getVirtualToRealViewTransformer(IlvGraphicHandleSelection obj,
IlvTransformer t)
Deprecated.
|
protected IlvTransformer |
getVirtualToRealViewTransformer(IlvGraphic obj,
IlvTransformer t)
Returns the transformer that converts the virtual view coordinate system
to the real view coordinate system.
|
protected IlvTransformer |
getVirtualViewTransformer(IlvGraphicHandleSelection obj,
IlvTransformer t)
Deprecated.
|
protected IlvTransformer |
getVirtualViewTransformer(IlvGraphic obj,
IlvTransformer t)
Returns the transformer that converts the manager coordinate system
of the wrapped object into a virtual view coordinate system.
|
void |
handleExpose(IlvGraphic obj,
Graphics g,
IlvObjectInteractorContext context)
Called by the view when the view
is drawn.
|
boolean |
processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
Processes the events.
|
Get, onEnter, onExit, Put
public IlvGraphicHandleInteractor()
IlvGraphicHandleInteractor
.protected boolean acceptObject(IlvGraphic obj)
true
for objects of
type IlvGraphicHandleSelection
public boolean processEvent(IlvGraphic obj, AWTEvent event, IlvObjectInteractorContext context)
processEvent
in class IlvObjectInteractor
obj
- 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 obj, Graphics g, IlvObjectInteractorContext context)
handleExpose
in class IlvObjectInteractor
obj
- The graphic object to which the object interactor is associated.g
- The Graphics
where obj
is drawn.context
- The interactor context.protected IlvTransformer getVirtualViewTransformer(IlvGraphic obj, IlvTransformer t)
The default implementation works for objects of type
IlvGraphicHandleSelection
. The method can be overridden
to work for other objects.
obj
- The graphic object to which the object interactor is associated.t
- The transformer of the real view.@Deprecated protected IlvTransformer getVirtualViewTransformer(IlvGraphicHandleSelection obj, IlvTransformer t)
getVirtualViewTransformer(IlvGraphic, IlvTransformer)
.obj
- The graphic object to which the object interactor is associated.t
- The transformer of the real view.protected IlvTransformer getVirtualToRealViewTransformer(IlvGraphic obj, IlvTransformer t)
The default implementation works for objects of type
IlvGraphicHandleSelection
. The method can be overridden
to work for other objects.
obj
- The graphic object to which the object interactor is associated.t
- The transformer of the real view.@Deprecated protected IlvTransformer getVirtualToRealViewTransformer(IlvGraphicHandleSelection obj, IlvTransformer t)
getVirtualToRealViewTransformer(IlvGraphic, IlvTransformer)
.obj
- The graphic object to which the object interactor is associated.t
- The transformer of the real view.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.