public enum InputSource extends java.lang.Enum<InputSource>
| Enum Constant and Description |
|---|
CONTROLLER |
KEYBOARD_MOUSE |
TOUCHSCREEN |
| Modifier and Type | Method and Description |
|---|---|
static InputSource |
fromFriendlyString(java.lang.String value) |
java.lang.String |
toFriendlyString() |
static InputSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputSource KEYBOARD_MOUSE
public static final InputSource TOUCHSCREEN
public static final InputSource CONTROLLER
public static InputSource[] values()
for (InputSource c : InputSource.values()) System.out.println(c);
public static InputSource 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 nullpublic java.lang.String toFriendlyString()
public static InputSource fromFriendlyString(java.lang.String value)