com.jogamp.newt.event
Class PinchToZoomGesture.ZoomEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jogamp.newt.event.NEWTEvent
          extended by com.jogamp.newt.event.InputEvent
              extended by com.jogamp.newt.event.GestureHandler.GestureEvent
                  extended by com.jogamp.newt.event.PinchToZoomGesture.ZoomEvent
All Implemented Interfaces:
Serializable
Enclosing class:
PinchToZoomGesture

public static class PinchToZoomGesture.ZoomEvent
extends GestureHandler.GestureEvent

A GestureHandler.GestureEvent denominating zoom.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jogamp.newt.event.InputEvent
InputEvent.InputClass, InputEvent.InputType
 
Field Summary
 
Fields inherited from class com.jogamp.newt.event.GestureHandler.GestureEvent
EVENT_GESTURE_DETECTED
 
Fields inherited from class com.jogamp.newt.event.InputEvent
ALT_GRAPH_MASK, ALT_MASK, AUTOREPEAT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, BUTTON4_MASK, BUTTON5_MASK, BUTTON6_MASK, BUTTON7_MASK, BUTTON8_MASK, BUTTON9_MASK, BUTTONALL_MASK, BUTTONLAST_MASK, CONFINED_MASK, CTRL_MASK, INVISIBLE_MASK, META_MASK, SHIFT_MASK
 
Fields inherited from class com.jogamp.newt.event.NEWTEvent
consumedTag
 
Constructor Summary
PinchToZoomGesture.ZoomEvent(Object source, long when, int modifiers, GestureHandler handler, MouseEvent pe, float zoom)
           
 
Method Summary
 MouseEvent getTrigger()
          Triggering MouseEvent
 float getZoom()
          Zoom value lies within [0..2], with 1 as 1:1.
 
Methods inherited from class com.jogamp.newt.event.GestureHandler.GestureEvent
getHandler
 
Methods inherited from class com.jogamp.newt.event.InputEvent
getButtonDownCount, getButtonMask, getButtonsDown, getModifiers, getModifiersString, isAltDown, isAltGraphDown, isAnyButtonDown, isAutoRepeat, isButtonDown, isConfined, isControlDown, isInvisible, isMetaDown, isShiftDown, toString, toString
 
Methods inherited from class com.jogamp.newt.event.NEWTEvent
getAttachment, getEventType, getWhen, isConsumed, setAttachment, setConsumed, toHexString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PinchToZoomGesture.ZoomEvent

public PinchToZoomGesture.ZoomEvent(Object source,
                                    long when,
                                    int modifiers,
                                    GestureHandler handler,
                                    MouseEvent pe,
                                    float zoom)
Method Detail

getTrigger

public final MouseEvent getTrigger()
Triggering MouseEvent


getZoom

public final float getZoom()
Zoom value lies within [0..2], with 1 as 1:1.



Copyright 2010 JogAmp Community.