public enum LastSentCommand extends Enum<LastSentCommand>
Modifier and Type | Method and Description |
---|---|
static LastSentCommand |
fromName(String name) |
static LastSentCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LastSentCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LastSentCommand ON
public static final LastSentCommand OFF
public static final LastSentCommand DIMMED
public static LastSentCommand[] values()
for (LastSentCommand c : LastSentCommand.values()) System.out.println(c);
public static LastSentCommand 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 LastSentCommand fromName(String name)
Copyright © 2015. All rights reserved.