public class IlvZoomViewInteractor extends IlvDragRectangleInteractor implements IlvPermanentInteractorInterface
Constructor and Description |
---|
IlvZoomViewInteractor()
Creates a new instance of IlvZoomViewInteractor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
attach(IlvManagerView v)
This method is called when the
interactor is attached to the manager view.
|
protected void |
fireRectangleDraggedEvent(IlvRect rectangle,
MouseEvent event)
This method is called when the user releases the dragged
rectangle.
|
boolean |
isPermanent()
Returns
true if the interactor operates in permanent mode;
false otherwise. |
void |
setPermanent(boolean set)
Changes the mode of the interactor.
|
addRectangleDraggedListener, detach, dragscroll, drawGhost, getCursor, getDraggedRectangle, getLineStyle, getRectangleAspectRatio, getStartDragModifier, getStartPoint, handleButtonDown, handleButtonDragged, handleButtonUp, isGridMode, isOpaqueMode, isRotationAllowed, isStartDragModifierDown, isXORGhost, processMouseEvent, processMouseMotionEvent, removeRectangleDraggedListener, setCursor, setGridMode, setLineStyle, setOpaqueMode, setRectangleAspectRatio, setRotationAllowed, setStartDragModifier
adjustPointIfOutsideView, doAutoScroll, getMaximumScrollDistance, getScrollTiming, isProgressiveScroll, setMaximumScrollDistance, setProgressiveScroll, setScrollTiming, startDraggingScrollTimer, stopDraggingScrollTimer
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvZoomViewInteractor()
protected void attach(IlvManagerView v)
attach
in class IlvDragRectangleInteractor
v
- the manager viewIlvManagerViewInteractor.detach()
protected void fireRectangleDraggedEvent(IlvRect rectangle, MouseEvent event)
fireRectangleDraggedEvent
in class IlvDragRectangleInteractor
rectangle
- the rectangle to be zoomed in manager's coordinate system.event
- the MouseEvent that triggered this method.public final boolean isPermanent()
true
if the interactor operates in permanent mode;
false
otherwise.isPermanent
in interface IlvPermanentInteractorInterface
setPermanent(boolean)
public final void setPermanent(boolean set)
setPermanent
in interface IlvPermanentInteractorInterface
set
- the new mode.isPermanent()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.