public class IltPanZoomedViewInteractor extends IlvManagerViewInteractor
IltPanZoomedView
,
Serialized FormConstructor 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, setXORGhost
public 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)
IlvManagerViewInteractor
MouseListener
registered with this interactor (if any).processMouseEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addMouseListener(java.awt.event.MouseListener)
protected void processMouseMotionEvent(MouseEvent event)
IlvManagerViewInteractor
MouseMotionListener
registered with this interactor (if any).processMouseMotionEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addMouseMotionListener(java.awt.event.MouseMotionListener)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.