|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.codecs.guitarPro.GPSong
This class is created to join the different GP*Piece objects
Nested Class Summary | |
(package private) class |
GPSong.StringImpl
This class performs the actual loading of the file |
Field Summary | |
protected java.lang.String |
album
The piece album. |
protected java.lang.String |
authorPiece
The piece author. |
protected java.lang.String |
authorSong
The author of the song. |
protected GPMIDIChannel[] |
channels
The MIDI channels used. |
protected java.util.List |
chordsDiagrams
A list of chords diagrams. |
protected java.lang.String |
copyright
The piece copyright. |
protected java.lang.String |
instruction
The instructions to use with this piece. |
protected java.lang.String |
interpret
The piece interpret. |
protected GPKey |
key
The key signature at the beginning of the piece. |
protected GPTrackLyrics |
lyrics
Lyrics associated with the tracks. |
java.util.List |
measures
A list of measures present in this piece. |
protected java.util.List |
measuresTracksPairs
A list of measures-tracks pairs containing data about the music. |
protected java.lang.String |
note
Notes about the piece. |
protected int |
octave
The octave (not used). |
protected java.lang.String |
subtitle
The piece subtitle. |
protected int |
tempo
The piece tempo. |
protected java.lang.String |
title
The piece title. |
protected java.util.List |
tracks
A list of tracks present in this piece. |
boolean |
tripletFeel
The triplet feel. |
protected java.lang.String |
version
The version of the file the piece was loaded from. |
(package private) common.SwingWorker |
worker
|
Constructor Summary | |
GPSong()
|
Method Summary | |
java.lang.String |
getAlbum()
|
java.lang.String |
getAuthorPiece()
|
java.lang.String |
getAuthorSong()
|
GPMIDIChannel |
getChannels(int i)
|
java.util.List |
getChordsDiagrams()
|
java.lang.String |
getCopyright()
|
java.lang.String |
getInstruction()
|
java.lang.String |
getInterpret()
|
GPKey |
getKey()
|
GPTrackLyrics |
getLyrics()
|
java.util.List |
getMeasures()
|
java.util.List |
getMeasuresTracksPairs()
|
GPMeasureTrackPair |
getMeasureTrackPair(int measure,
int track)
|
java.lang.String |
getNote()
|
int |
getNumMeasures()
|
int |
getNumTracks()
|
int |
getOctave()
|
java.lang.String |
getSubtitle()
|
int |
getTempo()
|
java.lang.String |
getTitle()
|
GPMeasureTrackPair |
getTrackMeasurePair(int track,
int measure)
|
java.util.List |
getTracks()
|
java.lang.String |
getVersion()
|
void |
setAlbum(java.lang.String album)
|
void |
setAuthorPiece(java.lang.String authorPiece)
|
void |
setAuthorSong(java.lang.String authorSong)
|
void |
setChannels(int i,
GPMIDIChannel channels)
|
void |
setCopyright(java.lang.String copyright)
|
void |
setInstruction(java.lang.String instruction)
|
void |
setInterpret(java.lang.String interpret)
|
void |
setKey(GPKey key)
|
void |
setLyrics(GPTrackLyrics lyrics)
|
void |
setNote(java.lang.String note)
|
void |
setOctave(int octave)
|
void |
setSubtitle(java.lang.String subtitle)
|
void |
setTempo(int tempo)
|
void |
setTitle(java.lang.String title)
|
void |
setVersion(java.lang.String version)
|
void |
startDisplayString(common.ScrollTextPanel stp)
|
void |
stopDisplayString()
|
java.lang.String |
toString()
Returns a string representation of this piece. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean tripletFeel
protected java.lang.String title
protected java.lang.String subtitle
protected java.lang.String interpret
protected java.lang.String album
protected java.lang.String authorSong
protected java.lang.String copyright
protected java.lang.String authorPiece
protected java.lang.String instruction
protected java.lang.String note
protected GPTrackLyrics lyrics
protected int tempo
protected GPMIDIChannel[] channels
protected java.util.List tracks
public java.util.List measures
protected java.util.List measuresTracksPairs
protected java.lang.String version
common.SwingWorker worker
protected java.util.List chordsDiagrams
protected GPKey key
protected int octave
Constructor Detail |
public GPSong()
Method Detail |
public java.lang.String getAlbum()
public java.lang.String getAuthorPiece()
public java.lang.String getAuthorSong()
public GPMIDIChannel getChannels(int i)
public java.lang.String getCopyright()
public java.lang.String getInstruction()
public java.lang.String getInterpret()
public GPTrackLyrics getLyrics()
public java.lang.String getNote()
public java.lang.String getSubtitle()
public int getTempo()
public java.lang.String getTitle()
public java.util.List getTracks()
public java.lang.String getVersion()
public java.util.List getMeasures()
public java.util.List getMeasuresTracksPairs()
public int getNumTracks()
public int getNumMeasures()
public GPMeasureTrackPair getTrackMeasurePair(int track, int measure)
public void startDisplayString(common.ScrollTextPanel stp)
public void stopDisplayString()
public java.lang.String toString()
public void setAlbum(java.lang.String album)
album
- The album to set.public void setAuthorPiece(java.lang.String authorPiece)
authorPiece
- The authorPiece to set.public void setAuthorSong(java.lang.String authorSong)
authorSong
- The authorSong to set.public void setChannels(int i, GPMIDIChannel channels)
channels
- The channels to set.public void setCopyright(java.lang.String copyright)
copyright
- The copyright to set.public void setInstruction(java.lang.String instruction)
instruction
- The instruction to set.public void setInterpret(java.lang.String interpret)
interpret
- The interpret to set.public void setKey(GPKey key)
key
- The key to set.public void setLyrics(GPTrackLyrics lyrics)
lyrics
- The lyrics to set.public void setNote(java.lang.String note)
note
- The note to set.public void setOctave(int octave)
octave
- The octave to set.public void setSubtitle(java.lang.String subtitle)
subtitle
- The subtitle to set.public void setTempo(int tempo)
tempo
- The tempo to set.public void setTitle(java.lang.String title)
title
- The title to set.public void setVersion(java.lang.String version)
version
- The version to set.public java.util.List getChordsDiagrams()
public GPKey getKey()
public GPMeasureTrackPair getMeasureTrackPair(int measure, int track)
public int getOctave()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |