|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPBendPoint
This class describes a point in a bend diagram.
Field Summary | |
private int |
_position
Absolute time position, in sixtieths of the note duration. |
private int |
_value
The bend height (100 per tone). |
private GPVibrato |
_vibrato
Determines how to play the section |
Constructor Summary | |
GPBendPoint()
Creates a new BendPoint. |
Method Summary | |
int |
getPosition()
Returns this point's position. |
int |
getValue()
Returns this point's value. |
GPVibrato |
getVibrato()
Returns this point's vibrato. |
void |
setPosition(int position)
Sets this point's position. |
void |
setValue(int value)
Sets this point's value. |
void |
setVibrato(GPVibrato vibrato)
Sets this point's vibrato effect. |
java.lang.String |
toString()
Returns a string representation of this point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int _position
private int _value
private GPVibrato _vibrato
Constructor Detail |
public GPBendPoint()
Method Detail |
public int getPosition()
public int getValue()
public GPVibrato getVibrato()
public void setPosition(int position)
position
- the position to set.public void setValue(int value)
value
- the value to set.public void setVibrato(GPVibrato vibrato)
vibrato
- the vibrato to set.public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |