edu.umd.cs.jazz.event
Class ZoomEventHandler.ZoomEventState

java.lang.Object
  |
  +--edu.umd.cs.jazz.event.ZoomEventHandler.ZoomEventState
Enclosing class:
ZoomEventHandler

protected class ZoomEventHandler.ZoomEventState
extends java.lang.Object

Provides indirect access this event handlers private state.


Constructor Summary
protected ZoomEventHandler.ZoomEventState()
           
 
Method Summary
 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, toString, wait, wait, wait
 

Constructor Detail

ZoomEventHandler.ZoomEventState

protected ZoomEventHandler.ZoomEventState()
Method Detail

getCamera

public 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)


Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.