org.herac.tuxguitar.io.ptb.base
Class PTBeat
java.lang.Object
org.herac.tuxguitar.io.ptb.base.PTBeat
- All Implemented Interfaces:
- PTComponent
public class PTBeat
- extends java.lang.Object
- implements PTComponent
Constructor Summary |
PTBeat(int staff,
int voice)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTBeat
public PTBeat(int staff,
int voice)
getStaff
public int getStaff()
getVoice
public int getVoice()
addNote
public void addNote(PTNote note)
getNotes
public java.util.List getNotes()
isGrace
public boolean isGrace()
setGrace
public void setGrace(boolean grace)
isVibrato
public boolean isVibrato()
setVibrato
public void setVibrato(boolean vibrato)
getMultiBarRest
public int getMultiBarRest()
setMultiBarRest
public void setMultiBarRest(int multiBarRest)
isDotted
public boolean isDotted()
setDotted
public void setDotted(boolean dotted)
isDoubleDotted
public boolean isDoubleDotted()
setDoubleDotted
public void setDoubleDotted(boolean doubleDotted)
getDuration
public int getDuration()
setDuration
public void setDuration(int duration)
getEnters
public int getEnters()
setEnters
public void setEnters(int enters)
getTimes
public int getTimes()
setTimes
public void setTimes(int times)
isArpeggioUp
public boolean isArpeggioUp()
setArpeggioUp
public void setArpeggioUp(boolean arpeggioUp)
isArpeggioDown
public boolean isArpeggioDown()
setArpeggioDown
public void setArpeggioDown(boolean arpeggioDown)
getClone
public PTComponent getClone()
- Specified by:
getClone
in interface PTComponent