APIdia Launch Partner
Top Fields Constructors Methods
com.sun.glass.ui.mac

pack-priv final Class MacGestureSupport

extends Object
Class Inheritance
Imports
com.sun.glass.ui.TouchInputSupport, .GestureSupport, .View

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final int
private static final GestureSupport
private static final boolean
private static final double
multiplier

The value used on Mac to convert scroll wheel rotations to pixels.

private static final int
private static final int
private static final int
private static final TouchInputSupport

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static native void
public static void
gestureFinished(View view, int modifiers, int x, int y, int xAbs, int yAbs)

public static void
magnifyGesturePerformed(View view, int modifiers, int x, int y, int xAbs, int yAbs, float scale)

public static void
notifyBeginTouchEvent(View view, int modifiers, int touchEventCount)

public static void
public static void
notifyNextTouchEvent(View view, int state, long id, float x, float y)

public static void
rotateGesturePerformed(View view, int modifiers, int x, int y, int xAbs, int yAbs, float rotation)

public static void
scrollGesturePerformed(View view, int modifiers, int sender, int x, int y, int xAbs, int yAbs, float dx, float dy)

public static void
swipeGesturePerformed(View view, int modifiers, int dir, int x, int y, int xAbs, int yAbs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GESTURE_MAGNIFYback to summary
private static final int GESTURE_MAGNIFY
GESTURE_ROTATEback to summary
private static final int GESTURE_ROTATE
GESTURE_SWIPEback to summary
private static final int GESTURE_SWIPE
gesturesback to summary
private static final GestureSupport gestures
isDirectback to summary
private static final boolean isDirect
multiplierback to summary
private static final double multiplier

The value used on Mac to convert scroll wheel rotations to pixels.

SCROLL_SRC_GESTUREback to summary
private static final int SCROLL_SRC_GESTURE
SCROLL_SRC_INERTIAback to summary
private static final int SCROLL_SRC_INERTIA
SCROLL_SRC_WHEELback to summary
private static final int SCROLL_SRC_WHEEL
touchesback to summary
private static final TouchInputSupport touches

Constructor Detail

MacGestureSupportback to summary
pack-priv MacGestureSupport()

Method Detail

_initIDsback to summary
private static native void _initIDs()
gestureFinishedback to summary
public static void gestureFinished(View view, int modifiers, int x, int y, int xAbs, int yAbs)
magnifyGesturePerformedback to summary
public static void magnifyGesturePerformed(View view, int modifiers, int x, int y, int xAbs, int yAbs, float scale)
notifyBeginTouchEventback to summary
public static void notifyBeginTouchEvent(View view, int modifiers, int touchEventCount)
notifyEndTouchEventback to summary
public static void notifyEndTouchEvent(View view)
notifyNextTouchEventback to summary
public static void notifyNextTouchEvent(View view, int state, long id, float x, float y)
rotateGesturePerformedback to summary
public static void rotateGesturePerformed(View view, int modifiers, int x, int y, int xAbs, int yAbs, float rotation)
scrollGesturePerformedback to summary
public static void scrollGesturePerformed(View view, int modifiers, int sender, int x, int y, int xAbs, int yAbs, float dx, float dy)
swipeGesturePerformedback to summary
public static void swipeGesturePerformed(View view, int modifiers, int dir, int x, int y, int xAbs, int yAbs)