|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPChordNote
This class describes a note belonging to a chord diagram.
Field Summary | |
private static java.lang.String[] |
_chordNames
The allowed chord notes names. |
private static GPChordNote[] |
_chordNotes
The allowed chord notes. |
private int |
_type
A chord note is represented by an integer. |
static GPChordNote |
A
A. |
static GPChordNote |
A_SHARP
A sharp. |
static GPChordNote |
B
B. |
static GPChordNote |
C
C. |
static GPChordNote |
C_SHARP
C sharp. |
static GPChordNote |
D
D. |
static GPChordNote |
D_SHARP
D sharp. |
static GPChordNote |
E
E. |
static GPChordNote |
F
F. |
static GPChordNote |
F_SHARP
F sharp. |
static GPChordNote |
G
G. |
static GPChordNote |
G_SHARP
G sharp. |
static GPChordNote |
USER
User. |
Constructor Summary | |
private |
GPChordNote(int type)
Creates a new GPChordNote whose type is type . |
Method Summary | |
java.lang.String |
toString()
Returns a string representation of this GPChordNote. |
static GPChordNote |
valueOf(int value)
Returns the GPChordNote associated with the value type . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int _type
public static final GPChordNote USER
public static final GPChordNote C
public static final GPChordNote C_SHARP
public static final GPChordNote D
public static final GPChordNote D_SHARP
public static final GPChordNote E
public static final GPChordNote F
public static final GPChordNote F_SHARP
public static final GPChordNote G
public static final GPChordNote G_SHARP
public static final GPChordNote A
public static final GPChordNote A_SHARP
public static final GPChordNote B
private static GPChordNote[] _chordNotes
private static java.lang.String[] _chordNames
Constructor Detail |
private GPChordNote(int type)
type
.
type
- the GPChordNote's typeMethod Detail |
public java.lang.String toString()
public static GPChordNote valueOf(int value)
type
.
value
- the chord note integer value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |