|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdguitar.codecs.guitarPro.GPBend
This class describes a Bend read from a Guitar Pro file.
A Bend is defined by its type, its height, and points that define how the
bend is to be played.
| Field Summary | |
private java.util.List |
_points
A list of points the bend is constitued of. |
private GPBendType |
_type
The bend type (bend, bend and release,...). |
private int |
_value
The bend height |
| Constructor Summary | |
GPBend()
Creates a new Bend |
|
| Method Summary | |
java.util.List |
getPoints()
Returns this bend's points. |
GPBendType |
getType()
Returns this bend's type. |
int |
getValue()
Returns this bend's value. |
void |
setType(GPBendType type)
Sets the type of this bend. |
void |
setValue(int value)
Sets this bend's value. |
java.lang.String |
toString()
Returns a string representation of the Bend. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.List _points
private GPBendType _type
GPBendTypeprivate int _value
| Constructor Detail |
public GPBend()
| Method Detail |
public java.util.List getPoints()
public GPBendType getType()
GPBendTypepublic int getValue()
public void setType(GPBendType type)
type - this bend's typeGPBendTypepublic void setValue(int value)
value - The value to set.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||