Top Fields Constructors Methods
com.sun.glass.ui.monocle

public Class AndroidInputDeviceRegistry

extends InputDeviceRegistry
Class Inheritance
Imports
com.sun.glass.ui.monocle.TouchState.Point, javafx.application.Platform

Field Summary

Modifier and TypeField and Description
private AndroidInputDevice
private static AndroidInputDeviceRegistry
private final KeyState
private AndroidInputProcessor
Inherited from com.sun.glass.ui.monocle.InputDeviceRegistry:
devices

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private AndroidInputDevice
private void
private AndroidInputProcessor
public static void
dispatchKeyEventFromNative(int type, int key, char[] chars, int modifiers)

public static void
dispatchMenuEventFromNative(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger)

pack-priv static AndroidInputDeviceRegistry
private void
gotKeyEvent(int action, int lk)

private void
public static void
gotKeyEventFromNative(int action, int linuxKey)

private void
public static void
gotTouchEventFromNative(int count, int[] actions, int[] ids, int[] x, int[] y, int primary)

public static void
pack-priv void
Inherited from com.sun.glass.ui.monocle.InputDeviceRegistry:
getInputDevices

Field Detail

androidDeviceback to summary
private AndroidInputDevice androidDevice
instanceback to summary
private static AndroidInputDeviceRegistry instance
keyStateback to summary
private final KeyState keyState
processorback to summary
private AndroidInputProcessor processor

Constructor Detail

AndroidInputDeviceRegistryback to summary
private AndroidInputDeviceRegistry()

Method Detail

addDeviceInternalback to summary
private AndroidInputDevice addDeviceInternal(AndroidInputDevice device, String name)
createDeviceback to summary
private void createDevice()
createInputProcessorback to summary
private AndroidInputProcessor createInputProcessor(AndroidInputDevice device)
dispatchKeyEventFromNativeback to summary
public static void dispatchKeyEventFromNative(int type, int key, char[] chars, int modifiers)
dispatchMenuEventFromNativeback to summary
public static void dispatchMenuEventFromNative(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger)
getInstanceback to summary
pack-priv static AndroidInputDeviceRegistry getInstance()
gotKeyEventback to summary
private void gotKeyEvent(int action, int lk)
gotKeyEventback to summary
private void gotKeyEvent(KeyState keyState)
gotKeyEventFromNativeback to summary
public static void gotKeyEventFromNative(int action, int linuxKey)
gotTouchEventback to summary
private void gotTouchEvent(TouchState touchState)
gotTouchEventFromNativeback to summary
public static void gotTouchEventFromNative(int count, int[] actions, int[] ids, int[] x, int[] y, int primary)
registerDeviceback to summary
public static void registerDevice()
removeDeviceback to summary
pack-priv void removeDevice(AndroidInputDevice device)