public static enum ViewObject.Type extends java.lang.Enum<ViewObject.Type>
Enum Constant and Description |
---|
UNKNOWN_OBJECT
Describes the type of view objects that is not a
USER_OBJECT . |
USER_OBJECT
Describes the type of view objects that are added by the application, such as
MapMarker . |
Modifier and Type | Method and Description |
---|---|
static ViewObject.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewObject.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewObject.Type USER_OBJECT
MapMarker
.public static final ViewObject.Type UNKNOWN_OBJECT
USER_OBJECT
.public static ViewObject.Type[] values()
for (ViewObject.Type c : ViewObject.Type.values()) System.out.println(c);
public static ViewObject.Type 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 namejava.lang.NullPointerException
- if the argument is null