venice
Class VZoomEventHandler.ZoomEventState
java.lang.Object
|
+--venice.VZoomEventHandler.ZoomEventState
- Enclosing class:
- VZoomEventHandler
- protected class VZoomEventHandler.ZoomEventState
- extends java.lang.Object
Provides indirect access this event handlers private state.
Method Summary |
edu.umd.cs.jazz.ZCamera |
getCamera()
Get the camera that is zooming. |
java.awt.geom.Point2D |
getCurrentScreenPoint()
Get event coords of current mouse posistion (in screen space). |
double |
getMaxMagnification()
Get the minimum allowed magnification. |
double |
getMinMagnification()
Get the maximum allowed magnification (or disabled if less than 0) |
java.awt.geom.Point2D |
getPressObjectPoint()
Get event coords of mouse press (in object space). |
java.awt.geom.Point2D |
getPressScreenPoint()
Get event coords of mouse press (in object space). |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
VZoomEventHandler.ZoomEventState
protected VZoomEventHandler.ZoomEventState()
getCamera
public edu.umd.cs.jazz.ZCamera getCamera()
- Get the camera that is zooming.
getCurrentScreenPoint
public java.awt.geom.Point2D getCurrentScreenPoint()
- Get event coords of current mouse posistion (in screen space).
getPressScreenPoint
public java.awt.geom.Point2D getPressScreenPoint()
- Get event coords of mouse press (in object space).
getPressObjectPoint
public java.awt.geom.Point2D getPressObjectPoint()
- Get event coords of mouse press (in object space).
getMaxMagnification
public double getMaxMagnification()
- Get the minimum allowed magnification.
getMinMagnification
public double getMinMagnification()
- Get the maximum allowed magnification (or disabled if less than 0)