dguitar.codecs.guitarPro
Class GPBendPoint

java.lang.Object
  extended bydguitar.codecs.guitarPro.GPBendPoint

public class GPBendPoint
extends java.lang.Object

This class describes a point in a bend diagram.

Author:
Matthieu Wipliez

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

_position

private int _position
Absolute time position, in sixtieths of the note duration.


_value

private int _value
The bend height (100 per tone).


_vibrato

private GPVibrato _vibrato
Determines how to play the section

Constructor Detail

GPBendPoint

public GPBendPoint()
Creates a new BendPoint.

Method Detail

getPosition

public int getPosition()
Returns this point's position.

Returns:
this point's position.

getValue

public int getValue()
Returns this point's value.

Returns:
this point's value (height).

getVibrato

public GPVibrato getVibrato()
Returns this point's vibrato.

Returns:
this point's vibrato.

setPosition

public void setPosition(int position)
Sets this point's position.

Parameters:
position - the position to set.

setValue

public void setValue(int value)
Sets this point's value.

Parameters:
value - the value to set.

setVibrato

public void setVibrato(GPVibrato vibrato)
Sets this point's vibrato effect.

Parameters:
vibrato - the vibrato to set.

toString

public java.lang.String toString()
Returns a string representation of this point.

See Also:
Object.toString()