org.herac.tuxguitar.gui.editors.tab
Class TGTrackImpl

java.lang.Object
  extended by org.herac.tuxguitar.song.models.TGTrack
      extended by org.herac.tuxguitar.gui.editors.tab.TGTrackImpl

public class TGTrackImpl
extends TGTrack


Field Summary
 
Fields inherited from class org.herac.tuxguitar.song.models.TGTrack
MAX_OFFSET, MIN_OFFSET
 
Constructor Summary
TGTrackImpl(TGFactory factory)
           
 
Method Summary
 void calculateScoreHeight(ViewLayout layout)
          Calcula el el ancho de la partitura
 void calculateTabHeight(ViewLayout layout)
          Calcula el el ancho de la tablatura
 void clear()
           
 int getScoreHeight()
           
 int getTabHeight()
           
 boolean hasCaret(ViewLayout layout)
           
 void removeMeasure(int index)
           
 void setTabHeight(int tabHeight)
           
 void update(ViewLayout layout)
           
 
Methods inherited from class org.herac.tuxguitar.song.models.TGTrack
addMeasure, addMeasure, clone, copy, countMeasures, getChannel, getColor, getLyrics, getMeasure, getMeasures, getName, getNumber, getOffset, getSong, getString, getStrings, isMute, isPercussionTrack, isSolo, setChannel, setColor, setLyrics, setMute, setName, setNumber, setOffset, setSolo, setSong, setStrings, stringCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGTrackImpl

public TGTrackImpl(TGFactory factory)
Method Detail

update

public void update(ViewLayout layout)

calculateTabHeight

public void calculateTabHeight(ViewLayout layout)
Calcula el el ancho de la tablatura


calculateScoreHeight

public void calculateScoreHeight(ViewLayout layout)
Calcula el el ancho de la partitura


hasCaret

public boolean hasCaret(ViewLayout layout)

getTabHeight

public int getTabHeight()

getScoreHeight

public int getScoreHeight()

setTabHeight

public void setTabHeight(int tabHeight)

clear

public void clear()
Overrides:
clear in class TGTrack

removeMeasure

public void removeMeasure(int index)
Overrides:
removeMeasure in class TGTrack