public class IltPanZoomedViewInteractor extends IlvManagerViewInteractor
IltPanZoomedView,
Serialized Form| Constructor and Description |
|---|
IltPanZoomedViewInteractor(IltPanZoomedView zoomView)
Creates the interactor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
processMouseEvent(MouseEvent event)
Processes the mouse events.
|
protected void |
processMouseMotionEvent(MouseEvent event)
Processes the mouse moved and mouse dragged events.
|
protected double |
zoomFactor(int button)
Returns the zoom factor to use for a particular button.
|
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, attach, detach, disableEvents, drawGhost, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, isXORGhost, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhostpublic IltPanZoomedViewInteractor(IltPanZoomedView zoomView)
zoomView - the view in which to display the zoomed contentsprotected double zoomFactor(int button)
The default implementation uses zoom factor 2, 4 and 8 for the buttons 1, 2 and 3, respectively.
button - 1, 2 or 3protected void processMouseEvent(MouseEvent event)
IlvManagerViewInteractorMouseListener
registered with this interactor (if any).processMouseEvent in class IlvManagerViewInteractorevent - The event.IlvManagerViewInteractor.addMouseListener(java.awt.event.MouseListener)protected void processMouseMotionEvent(MouseEvent event)
IlvManagerViewInteractorMouseMotionListener
registered with this interactor (if any).processMouseMotionEvent in class IlvManagerViewInteractorevent - The event.IlvManagerViewInteractor.addMouseMotionListener(java.awt.event.MouseMotionListener)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.