public enum TriggerSource extends Enum<TriggerSource>
| Enum Constant and Description |
|---|
TS_KEYBOARD |
TS_MENU
Selection made via menu (i.e.
|
TS_VR
Selection made via VR session
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TriggerSource |
valueForString(String value) |
static TriggerSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerSource TS_MENU
public static final TriggerSource TS_VR
public static final TriggerSource TS_KEYBOARD
public static TriggerSource[] values()
for (TriggerSource c : TriggerSource.values()) System.out.println(c);
public static TriggerSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TriggerSource>public static TriggerSource valueForString(String value)