public static class PinchToZoomGesture.ZoomEvent extends GestureHandler.GestureEvent
GestureHandler.GestureEvent
denominating zoom.InputEvent.InputClass, InputEvent.InputType
EVENT_GESTURE_DETECTED
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
consumedTag
Constructor and Description |
---|
PinchToZoomGesture.ZoomEvent(Object source,
long when,
int modifiers,
GestureHandler handler,
MouseEvent pe,
float zoom) |
Modifier and Type | Method and Description |
---|---|
MouseEvent |
getTrigger()
Triggering
MouseEvent |
float |
getZoom()
Zoom value lies within [0..2], with 1 as 1:1.
|
getHandler
getButtonDownCount, getButtonMask, getButtonsDown, getModifiers, getModifiersString, isAltDown, isAltGraphDown, isAnyButtonDown, isAutoRepeat, isButtonDown, isConfined, isControlDown, isInvisible, isMetaDown, isShiftDown, toString, toString
getAttachment, getEventType, getWhen, isConsumed, setAttachment, setConsumed, toHexString
getSource
public PinchToZoomGesture.ZoomEvent(Object source, long when, int modifiers, GestureHandler handler, MouseEvent pe, float zoom)
public final MouseEvent getTrigger()
MouseEvent
public final float getZoom()
Copyright 2010 JogAmp Community.