ist.palcom.services.tilessimulator.services
Enum LEDService.LedState
java.lang.Object
java.lang.Enum<LEDService.LedState>
ist.palcom.services.tilessimulator.services.LEDService.LedState
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LEDService.LedState>
- Enclosing class:
- LEDService
public static enum LEDService.LedState
- extends java.lang.Enum<LEDService.LedState>
|
Method Summary |
static LEDService.LedState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LEDService.LedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OFF
public static final LEDService.LedState OFF
ON
public static final LEDService.LedState ON
BLINK
public static final LEDService.LedState BLINK
UNDEFINED
public static final LEDService.LedState UNDEFINED
values
public static final LEDService.LedState[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(LEDService.LedState c : LEDService.LedState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static LEDService.LedState valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name