public class IlvMapZoomInteractor extends IlvDragRectangleInteractor implements IlvPermanentInteractorInterface
| Constructor and Description |
|---|
IlvMapZoomInteractor()
Constructs a IlvMapZoomInteractor.
|
| 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 |
detach()
Called when the interactor
is detached from the current manager view.
|
protected void |
fireRectangleDraggedEvent(IlvRect rectangle,
MouseEvent event)
This method is called when the user releases the dragged
rectangle.
|
int |
getZoomInKeyCode()
Retrieves the zoom in keycode.
|
int |
getZoomOutKeyCode()
Retrieves the zoom out keycode.
|
protected boolean |
handleButtonUp(MouseEvent event)
Processes the button up events.
|
boolean |
isPermanent()
Returns
true if the interactor operates in permanent mode;
false otherwise. |
void |
setPermanent(boolean set)
Changes the mode of the interactor.
|
void |
setZoomInKeyCode(int code)
Set the zoom in keycode.
|
void |
setZoomOutKeyCode(int code)
Set the zoom out keycode.
|
addRectangleDraggedListener, dragscroll, drawGhost, getCursor, getDraggedRectangle, getLineStyle, getRectangleAspectRatio, getStartDragModifier, getStartPoint, handleButtonDown, handleButtonDragged, isGridMode, isOpaqueMode, isRotationAllowed, isStartDragModifierDown, isXORGhost, processMouseEvent, processMouseMotionEvent, removeRectangleDraggedListener, setCursor, setGridMode, setLineStyle, setOpaqueMode, setRectangleAspectRatio, setRotationAllowed, setStartDragModifieradjustPointIfOutsideView, doAutoScroll, getMaximumScrollDistance, getScrollTiming, isProgressiveScroll, setMaximumScrollDistance, setProgressiveScroll, setScrollTiming, startDraggingScrollTimer, stopDraggingScrollTimeraddFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhostpublic IlvMapZoomInteractor()
protected void attach(IlvManagerView v)
attach in class IlvDragRectangleInteractorv - the manager viewIlvManagerViewInteractor.detach()protected void detach()
detach in class IlvDragRectangleInteractorIlvManagerViewInteractor.attach(ilog.views.IlvManagerView)protected boolean handleButtonUp(MouseEvent event)
handleButtonUp in class IlvDragRectangleInteractorevent - The event.true if the event has been processed,
false otherwise.protected void fireRectangleDraggedEvent(IlvRect rectangle, MouseEvent event)
fireRectangleDraggedEvent in class IlvDragRectangleInteractorrectangle - 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 IlvPermanentInteractorInterfacetrue if permanent, false otherwise.setPermanent(boolean)public final void setPermanent(boolean set)
setPermanent in interface IlvPermanentInteractorInterfaceset - the new mode.isPermanent()public int getZoomInKeyCode()
KEY_UPpublic void setZoomInKeyCode(int code)
code - the zoomin keycode.public int getZoomOutKeyCode()
KEY_DOWNpublic void setZoomOutKeyCode(int code)
code - the zoomin keycode.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.