|
||||||||||
| 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.IlvGraphicHandleInteractor
public class IlvGraphicHandleInteractor
This class is an object interactor that delegates to another object
interactor. It allows to adapt the coordinate system so that the
delegated object interactor can run in another coordinate system,
the virtual view coordinate system.
This is used by IlvGraphicHandleSelection.
| Constructor Summary | |
|---|---|
IlvGraphicHandleInteractor()
Creates a new IlvGraphicHandleInteractor. |
|
| Method Summary | |
|---|---|
protected boolean |
acceptObject(IlvGraphic obj)
Returns whether the interactor should deal with the object. |
protected IlvTransformer |
getVirtualToRealViewTransformer(IlvGraphicHandleSelection obj,
IlvTransformer t)
Deprecated. Use getVirtualToRealViewTransformer(IlvGraphic, IlvTransformer). |
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. Use getVirtualViewTransformer(IlvGraphic, IlvTransformer). |
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. |
| Methods inherited from class ilog.views.IlvObjectInteractor |
|---|
Get, onEnter, onExit, Put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvGraphicHandleInteractor()
IlvGraphicHandleInteractor.
| Method Detail |
|---|
protected boolean acceptObject(IlvGraphic obj)
true for objects of
type IlvGraphicHandleSelection
public boolean processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
processEvent in class IlvObjectInteractorobj - 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 IlvObjectInteractorobj - 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.
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.
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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||