org.herac.tuxguitar.io.ptb.base
Class PTBeat

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addNote(PTNote note)
           
 PTComponent getClone()
           
 int getDuration()
           
 int getEnters()
           
 int getMultiBarRest()
           
 java.util.List getNotes()
           
 int getStaff()
           
 int getTimes()
           
 int getVoice()
           
 boolean isDotted()
           
 boolean isDoubleDotted()
           
 boolean isGrace()
           
 boolean isVibrato()
           
 void setDotted(boolean dotted)
           
 void setDoubleDotted(boolean doubleDotted)
           
 void setDuration(int duration)
           
 void setEnters(int enters)
           
 void setGrace(boolean grace)
           
 void setMultiBarRest(int multiBarRest)
           
 void setTimes(int times)
           
 void setVibrato(boolean vibrato)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTBeat

public PTBeat(int staff,
              int voice)
Method Detail

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)

getClone

public PTComponent getClone()
Specified by:
getClone in interface PTComponent