public enum InteractiveControlType extends Enum<InteractiveControlType>
InteractiveControl
Modifier and Type | Method and Description |
---|---|
static InteractiveControlType |
from(String typeName)
Returns the associated
InteractiveControlType object for the provided control type name
(if there is one). |
String |
toString()
Returns a
String representation of this InteractiveControlType . |
static InteractiveControlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractiveControlType BUTTON
public static final InteractiveControlType JOYSTICK
public static InteractiveControlType[] values()
for (InteractiveControlType c : InteractiveControlType.values()) System.out.println(c);
public static InteractiveControlType 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 static InteractiveControlType from(String typeName)
InteractiveControlType
object for the provided control type name
(if there is one).typeName
- Interactive control type nameInteractiveControlType
for the provided control type name. If a match is not
found then null
is returnedpublic String toString()
String
representation of this InteractiveControlType
.toString
in class Enum<InteractiveControlType>
String
representation of this InteractiveControlType
Copyright © 2018. All rights reserved.