The IlvManagerViewInteractor class handles view
behavior. The role of this class is to handle complex sequences of
user input events that are to be processed by a particular view
object.
View interactor methods
You can add or remove a view interactor
with the following methods:
IlvManagerViewInteractor getInteractor()
void setInteractor(IlvManagerViewInteractor inter)
void pushInteractor(IlvManagerViewInteractor inter)
IlvManagerViewInteractor popInteractor()
Predefined view interactors
Rogue Wave JViews provides predefined view
interactors. Following is a list of these interactors:
- IlvDragRectangleInteractor - Draws a rectangle that can be used for several purposes. See Example: Implementing the DragRectangleInteractor class.
- IlvMakeRectangleInteractor - Allows creation of IlvRectangle objects.
- IlvMakeArcInteractor - Allows creation of IlvArc objects.
- IlvMakeEllipseInteractor - Allows creation of IlvEllipse objects.
- IlvMakeReliefRectangleInteractor - Allows creation of objects of the IlvReliefRectangle class.
- IlvMakeRoundRectangleInteractor - Allows creation of objects of the IlvRoundRectangle class with round corners.
- IlvUnZoomViewInteractor - Allows the unzooming command. You have to draw a rectangular region into which the area you are watching is unzoomed.
- IlvZoomViewInteractor - Allows the zooming command. You draw a rectangular region where you want to zoom.
- IlvMakePolyPointsInteractor - Allows creation of polypoints objects.
- IlvMakeLineInteractor - Allows creation of objects of the IlvLine class.
- IlvMakeArrowLineInteractor - Allows creation of objects of the IlvArrowLine class.
- IlvMakeLinkInteractor - Allows creation of objects of the IlvLinkImage class.
- IlvMakePolyLinkInteractor - Allows creation of objects of the IlvPolylineLinkImage class.
- IlvMakePolygonInteractor - Allows creation of objects of the IlvPolygon class.
- IlvMakePolylineInteractor - Allows creation of objects of the IlvPolyline class.
- IlvMakeArrowPolylineInteractor - Allows creation of objects of the IlvArrowPolyline class.
- IlvMakeSplineInteractor - Allows creation of objects of the IlvSpline class.
- IlvEditLabelInteractor - Allows creation and editing of objects that implement the IlvLabelInterface such as
IlvLabel
orIlvZoomableLabel
. - IlvMoveRectangleInteractor - Drags a rectangle and performs an action when releasing the mouse button.
- IlvSelectInteractor - Allows selection and editing of graphic objects.
- IlvRotateInteractor - Allows rotation of a selected graphic object.
- IlvPanInteractor - Allows translation of a view without using scroll bars.
- IlvMagnifyInteractor - Allows magnification of part of the view under the mouse pointer.