|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdguitar.codecs.guitarPro.GPTrackLyrics
This class describes the track lyrics.
| Field Summary | |
private java.lang.String[] |
_lines
Contains 5 strings of lyrics |
private int[] |
_measureNumber
The measure a line of lyrics start from. |
private int |
_trackNumber
The number of the track the lyrics are associated with. |
| Constructor Summary | |
GPTrackLyrics()
Creates a new TrackLyrics |
|
| Method Summary | |
java.lang.String |
getLines(int i)
Returns the ith line of lyrics. |
int |
getMeasureNumber(int i)
Returns the number of the measure from which the lyrics start on line i. |
int |
getTrackNumber()
Returns the track number. |
void |
setLine(int i,
java.lang.String line)
Sets the ith line of lyrics. |
void |
setMeasureNumber(int i,
int measureNumber)
Sets the number of the measure from which the lyrics start on line i. |
void |
setTrackNumber(int trackNumber)
Sets the track number. |
java.lang.String |
toString()
Returns a string representation of this GPTrackLyrics. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String[] _lines
private int[] _measureNumber
private int _trackNumber
| Constructor Detail |
public GPTrackLyrics()
| Method Detail |
public java.lang.String getLines(int i)
i - the line number.
public int getMeasureNumber(int i)
i - the line number.
public int getTrackNumber()
public void setLine(int i,
java.lang.String line)
i - the line number.line - the line to set.
public void setMeasureNumber(int i,
int measureNumber)
i - the index to be usedmeasureNumber - the number of the measure from which the lyrics start on line i.public void setTrackNumber(int trackNumber)
trackNumber - the trackNumber to set.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||