org.herac.tuxguitar.gui.editors.tab
Class TGMeasureHeaderImpl
java.lang.Object
org.herac.tuxguitar.song.models.TGMeasureHeader
org.herac.tuxguitar.gui.editors.tab.TGMeasureHeaderImpl
public class TGMeasureHeaderImpl
- extends TGMeasureHeader
Methods inherited from class org.herac.tuxguitar.song.models.TGMeasureHeader |
clone, getLength, getMarker, getNumber, getRepeatAlternative, getRepeatClose, getSong, getStart, getTempo, getTimeSignature, getTripletFeel, hasMarker, isRepeatOpen, makeEqual, setMarker, setNumber, setRepeatAlternative, setRepeatClose, setRepeatOpen, setSong, setStart, setTempo, setTimeSignature, setTripletFeel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TGMeasureHeaderImpl
public TGMeasureHeaderImpl(TGFactory factory)
reset
public void reset()
update
public void update(ViewLayout layout,
int index)
calculateMeasureChanges
public void calculateMeasureChanges(ViewLayout layout)
shouldPaintTempo
public boolean shouldPaintTempo()
shouldPaintTripletFeel
public boolean shouldPaintTripletFeel()
shouldPaintTimeSignature
public boolean shouldPaintTimeSignature()
getMaxQuarterSpacing
public int getMaxQuarterSpacing()
notifyQuarterSpacing
public void notifyQuarterSpacing(int spacing)
getClefSpacing
public int getClefSpacing(ViewLayout layout,
TGMeasureImpl measure)
getKeySignatureSpacing
public int getKeySignatureSpacing(ViewLayout layout,
TGMeasureImpl measure)
getTempoSpacing
public int getTempoSpacing(ViewLayout layout)
getTripletFeelSpacing
public int getTripletFeelSpacing(ViewLayout layout)
getTimeSignatureSpacing
public int getTimeSignatureSpacing(ViewLayout layout)
getLeftSpacing
public int getLeftSpacing(ViewLayout layout)
getRightSpacing
public int getRightSpacing(ViewLayout layout)
getFirstNoteSpacing
public int getFirstNoteSpacing(ViewLayout layout,
TGMeasureImpl measure)
notifyClefSpacing
public void notifyClefSpacing(int spacing)
notifyKeySignatureSpacing
public void notifyKeySignatureSpacing(int spacing)
notifyWidth
public void notifyWidth(int width)
getMaxWidth
public int getMaxWidth()