|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvManagerViewInteractor
ilog.tgo.interactor.IltPanZoomedViewInteractor
public class IltPanZoomedViewInteractor
A view interactor which displays a magnified portion of the current view in another view (of type IltPanZoomedView). The user can choose the midpoint and magnification by clicking with the mouse, and can move the selected area by dragging the mouse in the current view.
IltPanZoomedView,
Serialized Form| Constructor Summary | |
|---|---|
IltPanZoomedViewInteractor(IltPanZoomedView zoomView)
Creates the interactor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltPanZoomedViewInteractor(IltPanZoomedView zoomView)
zoomView - the view in which to display the zoomed contents| Method Detail |
|---|
protected 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)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||