Top Description Methods
com.sun.glass.ui.monocle

pack-priv Interface InputDevice

Known Direct Implementers
com.sun.glass.ui.monocle.LinuxInputDevice, com.sun.glass.ui.monocle.AndroidInputDevice

Abstraction of an input device and its capabilities

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the device provides direction arrow keys (UP, DOWN, LEFT and RIGHT) and a selection key.
is5Way
()

public boolean

Returns:

true if the device provides keys for the letters 'A' through 'Z', the digits '0' through '9' and also SPACE, SHIFT and TAB keys in addition to directional arrows and a selection key.
isFullKeyboard
()

public boolean

Returns:

true if the device provides touch input for more than one touch point.
isMultiTouch
()

public boolean

Returns:

true if the device provides relative pointing events. Relative pointing events are those received from devices where the event signifies a relative change in cursor position on the screen. For example, a mouse, trackball, trackpad or joystick is a relative pointing device. A touch screen is an sbsolute pointing device.
isRelative
()

public boolean

Returns:

true if the device provides touch input for at least one touch point.
isTouch
()

Method Detail

is5Wayback to summary
public boolean is5Way()
Returns:boolean

true if the device provides direction arrow keys (UP, DOWN, LEFT and RIGHT) and a selection key.

isFullKeyboardback to summary
public boolean isFullKeyboard()
Returns:boolean

true if the device provides keys for the letters 'A' through 'Z', the digits '0' through '9' and also SPACE, SHIFT and TAB keys in addition to directional arrows and a selection key.

isMultiTouchback to summary
public boolean isMultiTouch()
Returns:boolean

true if the device provides touch input for more than one touch point.

isRelativeback to summary
public boolean isRelative()
Returns:boolean

true if the device provides relative pointing events. Relative pointing events are those received from devices where the event signifies a relative change in cursor position on the screen. For example, a mouse, trackball, trackpad or joystick is a relative pointing device. A touch screen is an sbsolute pointing device.

isTouchback to summary
public boolean isTouch()
Returns:boolean

true if the device provides touch input for at least one touch point.