org.herac.tuxguitar.gui.editors.tab
Class TGTrackImpl
java.lang.Object
org.herac.tuxguitar.song.models.TGTrack
org.herac.tuxguitar.gui.editors.tab.TGTrackImpl
public class TGTrackImpl
- extends TGTrack
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, isPercussionTrack, setChannel, setColor, setLyrics, setName, setNumber, setOffset, setSong, setStrings, stringCount |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TGTrackImpl
public TGTrackImpl(TGFactory factory)
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