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 |
TGBeat
public TGBeat(TGFactory factory)
getStart
public long getStart()
setStart
public void setStart(long start)
getDuration
public TGDuration getDuration()
setDuration
public void setDuration(TGDuration duration)
getMeasure
public TGMeasure getMeasure()
setMeasure
public void setMeasure(TGMeasure measure)
getNotes
public java.util.List getNotes()
addNote
public void addNote(TGNote note)
moveNote
public void moveNote(int index,
TGNote note)
removeNote
public void removeNote(TGNote note)
getNote
public TGNote getNote(int index)
countNotes
public int countNotes()
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()
isRestBeat
public boolean isRestBeat()
isChordBeat
public boolean isChordBeat()
isTextBeat
public boolean isTextBeat()
clone
public TGBeat clone(TGFactory factory)