public enum ControlsStates extends Enum<ControlsStates> implements States
Enum Constant and Description |
---|
CONTROL_CRITICALITY_STATE
The criticality
|
CONTROL_SEQUENCE_STATE
The Control SEQUENCE
|
CONTROL_TYPE_STATE
The Control type
|
CONTROL_VALUE_STATE
The value
|
END_STATE
The END_STATE
|
LAST_STATE
Last state
|
START_STATE
start state
|
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName()
Get the grammar name
|
ControlsStates |
getStartState() |
String |
getState(int state)
Get the string representing the state
|
boolean |
isEndState() |
static ControlsStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlsStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlsStates END_STATE
public static final ControlsStates START_STATE
public static final ControlsStates CONTROL_SEQUENCE_STATE
public static final ControlsStates CONTROL_TYPE_STATE
public static final ControlsStates CONTROL_CRITICALITY_STATE
public static final ControlsStates CONTROL_VALUE_STATE
public static final ControlsStates LAST_STATE
public static ControlsStates[] values()
for (ControlsStates c : ControlsStates.values()) System.out.println(c);
public static ControlsStates 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 String getGrammarName()
public String getState(int state)
state
- The state numberpublic boolean isEndState()
isEndState
in interface States
public ControlsStates getStartState()
getStartState
in interface States
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.