org.niffty
Class Rest.Shape

java.lang.Object
  |
  +--org.niffty.Rest.Shape
Enclosing class:
Rest

public static final class Rest.Shape
extends java.lang.Object

A Rest.Shape has constants for the legal shapes. This is a "typesafe enum" where you can use a static members like a constant and compare with == .


Field Summary
static Rest.Shape BREVE
           
static Rest.Shape EIGHTH
           
static Rest.Shape FOUR_MEASURES
           
static Rest.Shape HALF
           
static Rest.Shape MULTIPLE_MEASURE_THICK_HORIZONTAL
           
static Rest.Shape MULTIPLE_MEASURE_THICK_SLANTED
           
static Rest.Shape ONE_TWENTY_EIGHTH
           
static Rest.Shape QUARTER
           
static Rest.Shape SIXTEENTH
           
static Rest.Shape SIXTY_FOURTH
           
static Rest.Shape THIRTY_SECOND
           
static Rest.Shape TWO_FIFTY_SIXTH
           
static Rest.Shape VOCAL_COMMA
           
static Rest.Shape VOCAL_TWO_SMALL_SLASHES
           
static Rest.Shape WHOLE
           
 
Method Summary
 java.lang.String toString()
          Return a string representation of this constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BREVE

public static final Rest.Shape BREVE

WHOLE

public static final Rest.Shape WHOLE

HALF

public static final Rest.Shape HALF

QUARTER

public static final Rest.Shape QUARTER

EIGHTH

public static final Rest.Shape EIGHTH

SIXTEENTH

public static final Rest.Shape SIXTEENTH

THIRTY_SECOND

public static final Rest.Shape THIRTY_SECOND

SIXTY_FOURTH

public static final Rest.Shape SIXTY_FOURTH

ONE_TWENTY_EIGHTH

public static final Rest.Shape ONE_TWENTY_EIGHTH

TWO_FIFTY_SIXTH

public static final Rest.Shape TWO_FIFTY_SIXTH

FOUR_MEASURES

public static final Rest.Shape FOUR_MEASURES

MULTIPLE_MEASURE_THICK_HORIZONTAL

public static final Rest.Shape MULTIPLE_MEASURE_THICK_HORIZONTAL

MULTIPLE_MEASURE_THICK_SLANTED

public static final Rest.Shape MULTIPLE_MEASURE_THICK_SLANTED

VOCAL_COMMA

public static final Rest.Shape VOCAL_COMMA

VOCAL_TWO_SMALL_SLASHES

public static final Rest.Shape VOCAL_TWO_SMALL_SLASHES
Method Detail

toString

public java.lang.String toString()
Return a string representation of this constant. This is only for display and is not used in testing for equality.

Overrides:
toString in class java.lang.Object