|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPGraceNote
This class describes a grace note.
Field Summary | |
private GPDuration |
_duration
The duration of the grace note. |
private GPDynamic |
_dynamic
The dynamic of the grace note. |
private int |
_fret
The fret number of the grace note. |
private GPGraceNoteTransition |
_transition
The transition of the grace note. |
Constructor Summary | |
GPGraceNote()
Creates a new GPGraceNote. |
Method Summary | |
GPDuration |
getDuration()
Returns this grace note's duration. |
GPDynamic |
getDynamic()
Returns this grace note's dynamic. |
int |
getFret()
Returns this grace note's fret. |
GPGraceNoteTransition |
getTransition()
Returns this grace note's transition. |
void |
setDuration(GPDuration duration)
Sets this grace note's duration. |
void |
setDynamic(GPDynamic dynamic)
Sets this grace note's dynamic. |
void |
setFret(int fret)
Sets this grace note's fret. |
void |
setTransition(GPGraceNoteTransition transition)
Sets this grace note's transition. |
java.lang.String |
toString()
Returns a string representation of the GPGraceNote. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private GPDuration _duration
private GPDynamic _dynamic
private int _fret
private GPGraceNoteTransition _transition
Constructor Detail |
public GPGraceNote()
Method Detail |
public GPDuration getDuration()
GPDuration
public GPDynamic getDynamic()
GPDynamic
public int getFret()
public GPGraceNoteTransition getTransition()
GPGraceNoteTransition
public void setDuration(GPDuration duration)
duration
- the duration to set.GPDuration
public void setDynamic(GPDynamic dynamic)
dynamic
- the dynamic to set.GPDynamic
public void setFret(int fret)
fret
- the fret to set.public void setTransition(GPGraceNoteTransition transition)
transition
- the transition to set.GPGraceNoteTransition
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |