org.herac.tuxguitar.io.ptb.helper
Class TrackStartHelper

java.lang.Object
  extended by org.herac.tuxguitar.io.ptb.helper.TrackStartHelper

public class TrackStartHelper
extends java.lang.Object


Constructor Summary
TrackStartHelper()
           
 
Method Summary
 void checkBeat(boolean rest)
           
 long fixValue(long value)
           
 long getBarLength()
           
 long getBarStart()
           
 long getMaxStart()
           
 int getSection()
           
 long getVoiceStart(int staff, int voice)
           
 void init(int section, int staffs)
           
 void initVoices(long start)
           
 void setBarLength(long barLength)
           
 void setBarStart(long barStart)
           
 void setVoiceStart(int staff, int voice, long start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackStartHelper

public TrackStartHelper()
Method Detail

init

public void init(int section,
                 int staffs)

getSection

public int getSection()

initVoices

public void initVoices(long start)

getMaxStart

public long getMaxStart()

getVoiceStart

public long getVoiceStart(int staff,
                          int voice)

setVoiceStart

public void setVoiceStart(int staff,
                          int voice,
                          long start)

getBarStart

public long getBarStart()

setBarStart

public void setBarStart(long barStart)

getBarLength

public long getBarLength()

setBarLength

public void setBarLength(long barLength)

checkBeat

public void checkBeat(boolean rest)

fixValue

public long fixValue(long value)