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 == .
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 |
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
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