org.herac.tuxguitar.song.models
Class TGVoice
java.lang.Object
org.herac.tuxguitar.song.models.TGVoice
- Direct Known Subclasses:
- TGVoiceImpl
public abstract class TGVoice
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTION_NONE
public static final int DIRECTION_NONE
- See Also:
- Constant Field Values
DIRECTION_UP
public static final int DIRECTION_UP
- See Also:
- Constant Field Values
DIRECTION_DOWN
public static final int DIRECTION_DOWN
- See Also:
- Constant Field Values
TGVoice
public TGVoice(TGFactory factory,
int index)
getIndex
public int getIndex()
setIndex
public void setIndex(int index)
isEmpty
public boolean isEmpty()
setEmpty
public void setEmpty(boolean empty)
getDirection
public int getDirection()
setDirection
public void setDirection(int direction)
getDuration
public TGDuration getDuration()
setDuration
public void setDuration(TGDuration duration)
getBeat
public TGBeat getBeat()
setBeat
public void setBeat(TGBeat beat)
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()
isRestVoice
public boolean isRestVoice()
clone
public TGVoice clone(TGFactory factory)