org.herac.tuxguitar.song.models
Class TGBeat
java.lang.Object
org.herac.tuxguitar.song.models.TGBeat
- Direct Known Subclasses:
- TGBeatImpl
public abstract class TGBeat
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_VOICES
public static final int MAX_VOICES
- See Also:
- Constant Field Values
TGBeat
public TGBeat(TGFactory factory)
getMeasure
public TGMeasure getMeasure()
setMeasure
public void setMeasure(TGMeasure measure)
getStart
public long getStart()
setStart
public void setStart(long start)
setVoice
public void setVoice(int index,
TGVoice voice)
getVoice
public TGVoice getVoice(int index)
countVoices
public int countVoices()
setChord
public void setChord(TGChord chord)
getChord
public TGChord getChord()
removeChord
public void removeChord()
getText
public TGText getText()
setText
public void setText(TGText text)
removeText
public void removeText()
isChordBeat
public boolean isChordBeat()
isTextBeat
public boolean isTextBeat()
getStroke
public TGStroke getStroke()
isRestBeat
public boolean isRestBeat()
clone
public TGBeat clone(TGFactory factory)