|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPMusicalNote
This class describes how is represented a musical note. It is quite different from the GPNote class, as this one only contain one integer representing how a note is encoded, that is to say what is a C, what is a D...
Field Summary | |
private int |
_note
A note is represented by a positive integer. |
Constructor Summary | |
GPMusicalNote(int note)
Creates a new GPMusicalNote. |
Method Summary | |
int |
getNote()
Returns the note. |
void |
setNote(int note)
Sets the note. |
java.lang.String |
toString()
Returns a string representation of this GPMusicalNote. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int _note
Constructor Detail |
public GPMusicalNote(int note)
note
- Method Detail |
public int getNote()
public void setNote(int note)
note
- the note to set.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |