public enum SimonState extends Enum<SimonState>
Enum Constant and Description |
---|
DISABLED
Disabled.
|
ENABLED
Enabled.
|
INHERIT
Effective state (enabled/disabled) is going to be derived from the parent.
|
Modifier and Type | Method and Description |
---|---|
static SimonState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimonState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimonState ENABLED
public static final SimonState DISABLED
public static final SimonState INHERIT
public static SimonState[] values()
for (SimonState c : SimonState.values()) System.out.println(c);
public static SimonState 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 nullCopyright © 2019. All rights reserved.