sdr 0.7

net.cscott.sdr.calls
Enum Position.Flag

java.lang.Object
  extended by java.lang.Enum<Position.Flag>
      extended by net.cscott.sdr.calls.Position.Flag
All Implemented Interfaces:
Serializable, Comparable<Position.Flag>
Enclosing class:
Position

public static enum Position.Flag
extends Enum<Position.Flag>

Various flags describing boolean properties of a Position.


Enum Constant Summary
PASS_LEFT
          A left-shoulder pass/collide to lefts is indicated.
ROLL_LEFT
          Roll direction was to the dancer's left.
ROLL_RIGHT
          Roll direction was to the dancer's right.
SWEEP_LEFT
          Sweep direction was to the dancer's left.
SWEEP_RIGHT
          Sweep direction was to the dancer's right.
 
Method Summary
static Position.Flag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Position.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

PASS_LEFT

public static final Position.Flag PASS_LEFT
A left-shoulder pass/collide to lefts is indicated.


ROLL_LEFT

public static final Position.Flag ROLL_LEFT
Roll direction was to the dancer's left.


ROLL_RIGHT

public static final Position.Flag ROLL_RIGHT
Roll direction was to the dancer's right.


SWEEP_LEFT

public static final Position.Flag SWEEP_LEFT
Sweep direction was to the dancer's left.


SWEEP_RIGHT

public static final Position.Flag SWEEP_RIGHT
Sweep direction was to the dancer's right.

Method Detail

values

public static Position.Flag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Position.Flag c : Position.Flag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Position.Flag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian