public static enum MachCode.SegmentType extends java.lang.Enum<MachCode.SegmentType>
Enum Constant and Description |
---|
ARC_CCW |
ARC_CW |
CALLBACK |
CONDITIONAL_PAUSE |
DWELL |
EXCHANGE_PALETTE |
LINEAR |
PAUSE |
SET_OUTPUT |
START |
STOP |
Modifier and Type | Method and Description |
---|---|
static MachCode.SegmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MachCode.SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachCode.SegmentType START
public static final MachCode.SegmentType LINEAR
public static final MachCode.SegmentType ARC_CW
public static final MachCode.SegmentType ARC_CCW
public static final MachCode.SegmentType EXCHANGE_PALETTE
public static final MachCode.SegmentType STOP
public static final MachCode.SegmentType PAUSE
public static final MachCode.SegmentType CONDITIONAL_PAUSE
public static final MachCode.SegmentType DWELL
public static final MachCode.SegmentType SET_OUTPUT
public static final MachCode.SegmentType CALLBACK
public static MachCode.SegmentType[] values()
for (MachCode.SegmentType c : MachCode.SegmentType.values()) System.out.println(c);
public static MachCode.SegmentType 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