Enum Constant and Description |
---|
CURRENT_PERSON |
FIRST_PERSON |
THIRD_PERSON |
THIRD_PERSON_REVERSE |
Modifier and Type | Method and Description |
---|---|
static ViewType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewType FIRST_PERSON
public static final ViewType THIRD_PERSON
public static final ViewType THIRD_PERSON_REVERSE
public static final ViewType CURRENT_PERSON
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType 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