public enum SpindleControl extends java.lang.Enum<SpindleControl>
Enum Constant and Description |
---|
M3_SpindleOff |
M4_SpindleClockwise |
M5_SpindleCounterClockwise |
Modifier and Type | Method and Description |
---|---|
static SpindleControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpindleControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpindleControl M3_SpindleOff
public static final SpindleControl M4_SpindleClockwise
public static final SpindleControl M5_SpindleCounterClockwise
public static SpindleControl[] values()
for (SpindleControl c : SpindleControl.values()) System.out.println(c);
public static SpindleControl 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