|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdguitar.codecs.guitarPro.GPNote
This class describes how is represented a complete note. Contrarily to the GPMusicalNote class, this one carries the information contained about one note in Guitar Pro: it can have effects, can be accentuated...
| Field Summary | |
private GPDynamic |
_dynamic
The note dynamic. |
private int |
_fretNumber
The number of the fret. |
private boolean |
_isDeadNote
Whether the note is a dead note (displayed X). |
private boolean |
_isGhostNote
Whether the note is a ghost note. |
private boolean |
_isTieNote
Whether the note is a tied note. |
private int |
_nTuplet
The n-tuplet this note may take part in. |
GPDuration |
duration
Note duration possibly linked to this note. |
GPEffectsOnNote |
effects
Effects possibly linked to this note. |
GPFingering |
fingeringLeftHand
Fingering of the left hand possibly linked to this note. |
GPFingering |
fingeringRightHand
Fingering of the right hand possibly linked to this note. |
boolean |
isAccentuated
Whether the note is accentuated. |
boolean |
isDotted
Whether the note is a dotted note. |
| Constructor Summary | |
GPNote()
Creates a new Note. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if the given object is equal to this GPNote. |
GPDynamic |
getDynamic()
Returns this note's dynamic. |
int |
getFretNumber()
Returns this note's fret number. |
int |
getNTuplet()
Returns this note's n-tuplet. |
int |
getNumberOfFret()
Deprecated. |
boolean |
isDeadNote()
Returns true if this note is dead. |
boolean |
isGhostNote()
Returns true if this note is a ghost note. |
boolean |
isTieNote()
Returns true if this note is a tie note. |
void |
setDeadNote(boolean isDeadNote)
Sets this note to dead or not according to isDeadNote. |
void |
setDynamic(GPDynamic dynamic)
Sets this note's dynamic. |
void |
setFretNumber(int fretNumber)
Sets this note's fret number. |
void |
setGhostNote(boolean isGhostNote)
Sets this note as a ghost note or not according to isGhostNote. |
void |
setNTuplet(int tuplet)
Sets this note's n-tuplet. |
void |
setTieNote(boolean isTieNote)
Sets this note as a tie note or not according to isGhostNote. |
java.lang.String |
toString()
Returns a string representation of the Note. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public GPDuration duration
public GPEffectsOnNote effects
public GPFingering fingeringLeftHand
public GPFingering fingeringRightHand
public boolean isAccentuated
public boolean isDotted
private GPDynamic _dynamic
private int _fretNumber
private boolean _isDeadNote
private boolean _isGhostNote
private boolean _isTieNote
private int _nTuplet
| Constructor Detail |
public GPNote()
| Method Detail |
public boolean equals(java.lang.Object o)
Object.equals(java.lang.Object)public GPDynamic getDynamic()
public int getFretNumber()
public int getNTuplet()
public int getNumberOfFret()
public boolean isDeadNote()
public boolean isGhostNote()
public boolean isTieNote()
public void setDeadNote(boolean isDeadNote)
isDeadNote - whether this note is dead or not.public void setDynamic(GPDynamic dynamic)
dynamic - the dynamic to set.public void setFretNumber(int fretNumber)
fretNumber - the fret number to set.public void setGhostNote(boolean isGhostNote)
isGhostNote - whether this note is a ghost note or not.public void setNTuplet(int tuplet)
tuplet - the n-tuplet to set.public void setTieNote(boolean isTieNote)
isTieNote - whether this note is a tie note or not.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||