|
sdr 0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Prim.Flag>
net.cscott.sdr.calls.ast.Prim.Flag
public static enum Prim.Flag
Enum Constant Summary | |
---|---|
FORCE_ARC
The FORCE_ARC flag helps distinguish between (say)
"pass thru and quarter in" and "split counter rotate 1/4". |
|
FORCE_ROLL_LEFT
Set the roll direction to the left after this Prim, even if the movement doesn't call for it. |
|
FORCE_ROLL_NONE
Set the roll direction to "none" after this Prim, even if the movement seems to call for a roll. |
|
FORCE_ROLL_RIGHT
Set the roll direction to the right after this Prim, even if the movement doesn't call for it. |
|
NO_HANDS
In a do-sa-do, you don't join hands at the 1/4 and 3/4 marks, even though you are adjacent. |
|
PASS_LEFT
This flag indicates whether this motion involves a right shoulder pass (as most motions do, including "cross" calls where the crossers start far apart) or else a left shoulder pass ("cross" calls which start with adjacent crossers). |
|
SASHAY_FINISH
Finish the movement with a sashay (instead of a forward step). |
|
SASHAY_START
Begin the movement with a sashay (instead of stepping forward). |
|
SKIRT_WORK
Heaven help me, someday I might implement "ladies in, men sashay." |
Method Summary | |
---|---|
static String |
canon(String s)
Normalize a Prim.Flag name: convert to uppercase, and
convert dashes to underscores. |
static boolean |
contains(String s)
Returns true iff the given string names a valid Prim.Flag . |
static Prim.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Prim.Flag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Prim.Flag PASS_LEFT
public static final Prim.Flag FORCE_ARC
FORCE_ARC
flag helps distinguish between (say)
"pass thru and quarter in" and "split counter rotate 1/4". Both
of these involve traveling forward and turning, but the latter
is an arcing motion (hence FORCE_ARC
would be set) while
the former is a straight line path (hence FORCE_ARC
would
not be set).
public static final Prim.Flag FORCE_ROLL_RIGHT
public static final Prim.Flag FORCE_ROLL_LEFT
public static final Prim.Flag FORCE_ROLL_NONE
public static final Prim.Flag SASHAY_START
public static final Prim.Flag SASHAY_FINISH
public static final Prim.Flag NO_HANDS
public static final Prim.Flag SKIRT_WORK
Method Detail |
---|
public static Prim.Flag[] values()
for (Prim.Flag c : Prim.Flag.values()) System.out.println(c);
public static Prim.Flag valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static boolean contains(String s)
Prim.Flag
.
public static String canon(String s)
Prim.Flag
name: convert to uppercase, and
convert dashes to underscores.
|
sdr 0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |