|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.lbs.maps.MapConstants
public final class MapConstants
Defines several constants that you can use with the Maps API
that is provided in the net.rim.device.api.lbs.maps package.
| Field Summary | ||
|---|---|---|
static int |
HW_CLASS_HYBRID
Indicates that the device hardware is hybrid (keyboard and touch). |
|
static int |
MODE_FOCUS_ACTIVE
Specifies that focus is currently on the map field, while in SHARED FOCUS mode. |
|
static int |
MODE_FOLLOW
When this mode is set, it forces the MapField that is using
the My Location framework
to pan and zoom with the user's location. |
|
static int |
MODE_PAN
Specifies the pan mode, where input from the user results in the map panning. |
|
static int |
MODE_SELECTION
Indicates a user can make a selection from the map. |
|
static int |
MODE_SHARED_FOCUS
Indicates that the map field can share focus with other fields. |
|
static int |
MODE_ZOOM
Specifies the zoom mode, where input from the user results in the zoom level changing. |
|
static int |
TRACKPAD_SENSITIVITY_HIGHER
Indicates the trackpad's higher sensitivity value. |
|
static int |
TRACKPAD_SENSITIVITY_HIGHEST
Indicates the trackpad's highest sensitivity value. |
|
static int |
TRACKPAD_SENSITIVITY_LOWER
Indicates the trackpad's lower sensitivity value. |
|
static int |
TRACKPAD_SENSITIVITY_LOWEST
Indicates the trackpad's lowest sensitivity value. |
|
static int |
TRACKPAD_SENSITIVITY_MIDWAY
Indicates the trackpad's midway sensitivity value. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MODE_ZOOM
public static final int MODE_PAN
public static final int MODE_FOLLOW
MapField that is using
the My Location framework
to pan and zoom with the user's location.
Whenever the user's location moves, the map view will pan. If the accuracy of the
location changes (from GPS to geolocation) the
MapField may zoom in/out to compensate for the accuracy change.
public static final int MODE_SELECTION
public static final int MODE_SHARED_FOCUS
public static final int MODE_FOCUS_ACTIVE
SHARED FOCUS mode.
public static final int HW_CLASS_HYBRID
public static final int TRACKPAD_SENSITIVITY_HIGHEST
public static final int TRACKPAD_SENSITIVITY_HIGHER
public static final int TRACKPAD_SENSITIVITY_MIDWAY
public static final int TRACKPAD_SENSITIVITY_LOWER
public static final int TRACKPAD_SENSITIVITY_LOWEST
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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