org.niffty
Class Clef.Shape
java.lang.Object
|
+--org.niffty.Clef.Shape
- Enclosing class:
- Clef
- public static final class Clef.Shape
- extends java.lang.Object
A Clef.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 |
G_CLEF
public static final Clef.Shape G_CLEF
F_CLEF
public static final Clef.Shape F_CLEF
C_CLEF
public static final Clef.Shape C_CLEF
PERCUSSION
public static final Clef.Shape PERCUSSION
DOUBLE_G_CLEF
public static final Clef.Shape DOUBLE_G_CLEF
TABLATURE
public static final Clef.Shape TABLATURE
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