net.rim.device.api.ui.input
Class NavigationDeviceSettings

java.lang.Object
  extended by net.rim.device.api.ui.input.InputSettings
      extended by net.rim.device.api.ui.input.NavigationDeviceSettings

public final class NavigationDeviceSettings
extends InputSettings

NavigationDeviceSettings contains a set of attributes associated with any navigation device (Trackball, Trackpad, etc) (see Trackball, TouchEvent, TouchGesture). NavigationDeviceSettings allows a Screen or a UiApplication to customize the generation of navigation input events by the user, such as enabling the detection of Trackpad Swipe gestures. To create an empty set of NavigationDevice attributes to be populated via InputSettings.set(int, int), invoke NavigationDeviceSettings.createEmptySet().

Since:
BlackBerry API 6.0.0

Field Summary
static int DETECT_SWIPE
          Enable or disable the generation of SWIPE gestures: 0 to disable, 1 to enable.
 
Method Summary
static InputSettings createEmptySet()
          Creates an empty InputSettings object to be populated with NavigationDevice attributes and values via InputSettings.set(int, int).
 
Methods inherited from class net.rim.device.api.ui.input.InputSettings
get, remove, removeAll, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

DETECT_SWIPE

public static final int DETECT_SWIPE
Enable or disable the generation of SWIPE gestures: 0 to disable, 1 to enable.

See Also:
Constant Field Values
Since:
BlackBerry API 6.0.0


Method Detail

createEmptySet

public static InputSettings createEmptySet()
Creates an empty InputSettings object to be populated with NavigationDevice attributes and values via InputSettings.set(int, int).

Returns:
Empty InputSettings object for a Navigation device.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal