public static enum ActionValve.ValveState extends java.lang.Enum<ActionValve.ValveState>
| Enum Constant and Description |
|---|
CLOSED |
INPUT_ONLY |
OPEN |
OUTPUT_ONLY |
| Modifier and Type | Field and Description |
|---|---|
boolean |
inputOpen |
boolean |
outputOpen |
static ActionValve.ValveState[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static ActionValve.ValveState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionValve.ValveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionValve.ValveState OPEN
public static final ActionValve.ValveState INPUT_ONLY
public static final ActionValve.ValveState OUTPUT_ONLY
public static final ActionValve.ValveState CLOSED
public static final ActionValve.ValveState[] VALUES
public final boolean inputOpen
public final boolean outputOpen
public static ActionValve.ValveState[] values()
for (ActionValve.ValveState c : ActionValve.ValveState.values()) System.out.println(c);
public static ActionValve.ValveState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null