org.niffty
Class Notehead.Shape

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

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

A Notehead.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 Notehead.Shape BREVE
           
static Notehead.Shape FILLED
           
static Notehead.Shape FILLED_GUITAR_SLASH
           
static Notehead.Shape FILLED_SQUARE
           
static Notehead.Shape FILLED_TRIANGLE
           
static Notehead.Shape HALF
           
static Notehead.Shape OPEN_DIAMOND
           
static Notehead.Shape OPEN_GUITAR_SLASH
           
static Notehead.Shape OPEN_SQUARE
           
static Notehead.Shape OPEN_TRIANGLE
           
static Notehead.Shape OPEN_X_NOTEHEAD
           
static Notehead.Shape SOLID_DIAMOND
           
static Notehead.Shape WHOLE
           
static Notehead.Shape X_NOTEHEAD
           
 
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 Notehead.Shape BREVE

WHOLE

public static final Notehead.Shape WHOLE

HALF

public static final Notehead.Shape HALF

FILLED

public static final Notehead.Shape FILLED

OPEN_DIAMOND

public static final Notehead.Shape OPEN_DIAMOND

SOLID_DIAMOND

public static final Notehead.Shape SOLID_DIAMOND

X_NOTEHEAD

public static final Notehead.Shape X_NOTEHEAD

OPEN_X_NOTEHEAD

public static final Notehead.Shape OPEN_X_NOTEHEAD

FILLED_GUITAR_SLASH

public static final Notehead.Shape FILLED_GUITAR_SLASH

OPEN_GUITAR_SLASH

public static final Notehead.Shape OPEN_GUITAR_SLASH

FILLED_SQUARE

public static final Notehead.Shape FILLED_SQUARE

OPEN_SQUARE

public static final Notehead.Shape OPEN_SQUARE

FILLED_TRIANGLE

public static final Notehead.Shape FILLED_TRIANGLE

OPEN_TRIANGLE

public static final Notehead.Shape OPEN_TRIANGLE
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