|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ZoomMode> org.ros.android.view.ZoomMode
public enum ZoomMode
Enum Constant Summary | |
---|---|
CLUTTER_ZOOM_MODE
In the CLUTTER_ZOOM_MODE the DistanceView will auto adjust the
level of zoom based on proximity to objects near by. |
|
CUSTOM_ZOOM_MODE
In CUSTOM_ZOOM_MODE the DistanceView allows the user to change the
zoom level via pinch and reverse-pinch gestures. |
|
VELOCITY_ZOOM_MODE
In the VELOCITY_ZOOM_MODE the DistanceView will auto adjust the
level of zoom based on the current linear velocity of the robot. |
Method Summary | |
---|---|
static ZoomMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ZoomMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ZoomMode CLUTTER_ZOOM_MODE
DistanceView
will auto adjust the
level of zoom based on proximity to objects near by. The view will zoom in
further when there are objects closer to the robot and vice versa.
public static final ZoomMode VELOCITY_ZOOM_MODE
DistanceView
will auto adjust the
level of zoom based on the current linear velocity of the robot. The faster
the robot moves the move zoomed out the view will be.
public static final ZoomMode CUSTOM_ZOOM_MODE
DistanceView
allows the user to change the
zoom level via pinch and reverse-pinch gestures.
Method Detail |
---|
public static ZoomMode[] values()
for (ZoomMode c : ZoomMode.values()) System.out.println(c);
public static ZoomMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |