public interface IlpViewInteractor extends IlpInteractor
A view interactor is not stateless but nevertheless it uses an
IlpDefaultViewInteractionContext
which stores
information that the interactor needs.
IlpInteractor
,
IlpViewInteractionContext
,
IlpObjectInteractor
,
IlpGraphicController
Modifier and Type | Method and Description |
---|---|
void |
attach(IlpGraphicController controller)
Attaches this view interactor to the specified controller.
|
void |
detach()
Detaches this view interactor from its controller.
|
IlpGraphicController |
getController()
Retrieves the controller to which this view interactor is attached.
|
boolean |
isUsingObjectInteractor()
Specifies whether the events that occur on an
IlpGraphic
or a representation object are delegated to an IlpObjectInteractor . |
void |
setUsingObjectInteractor(boolean use)
Specifies whether the events that occur on an
IlpGraphic
or a representation object should be delegated to an
IlpObjectInteractor . |
getGestureAction, getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, processEvent, setGestureAction, setGestureAction, setKeyStrokeAction, setPopupMenuFactory
void attach(IlpGraphicController controller)
controller
- The controller to which the interactor is to be attached.IllegalStateException
- if this interactor is already attached to a
controller.detach()
void detach()
IlpGraphicController getController()
void setUsingObjectInteractor(boolean use)
IlpGraphic
or a representation object should be delegated to an
IlpObjectInteractor
.use
- Specifies whether the interactor has to delegate events.isUsingObjectInteractor()
boolean isUsingObjectInteractor()
IlpGraphic
or a representation object are delegated to an IlpObjectInteractor
.setUsingObjectInteractor(boolean)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.