org.niffty
Class Clef.OctaveNumber

java.lang.Object
  |
  +--org.niffty.Clef.OctaveNumber
Enclosing class:
Clef

public static final class Clef.OctaveNumber
extends java.lang.Object

A Clef.OctaveNumber has constants for the legal octave number indicatiors. This is a "typesafe enum" where you can use a static members like a constant and compare with == .


Field Summary
static Clef.OctaveNumber ABOVE_15
          A little "15" above.
static Clef.OctaveNumber ABOVE_8
          A little "8" above.
static Clef.OctaveNumber BELOW_15
          A little "15" below.
static Clef.OctaveNumber BELOW_8
          A little "8" below.
static Clef.OctaveNumber NONE
          No octave number indicator.
 
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

NONE

public static final Clef.OctaveNumber NONE
No octave number indicator.


ABOVE_8

public static final Clef.OctaveNumber ABOVE_8
A little "8" above.


BELOW_8

public static final Clef.OctaveNumber BELOW_8
A little "8" below.


ABOVE_15

public static final Clef.OctaveNumber ABOVE_15
A little "15" above.


BELOW_15

public static final Clef.OctaveNumber BELOW_15
A little "15" below.

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