org.herac.tuxguitar.gui.editors.tab
Class MeasureHeaderGui
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.MeasureHeaderGui
public class MeasureHeaderGui
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TIME_SIGNATURE_SPAN
public static final int DEFAULT_TIME_SIGNATURE_SPAN
- Espacio por defecto del timeSignature
- See Also:
- Constant Field Values
DEFAULT_LEFT_SPAN
public static final int DEFAULT_LEFT_SPAN
- Espacio por defecto a la izquierda
- See Also:
- Constant Field Values
DEFAULT_RIGHT_SPAN
public static final int DEFAULT_RIGHT_SPAN
- Espacio por defecto a la derecha
- See Also:
- Constant Field Values
MeasureHeaderGui
public MeasureHeaderGui(MeasureHeader header)
reset
public void reset()
update
public void update(ViewLayout layout)
calculateMeasureChanges
public void calculateMeasureChanges(ViewLayout layout)
calculateWidth
public void calculateWidth()
- Calcula el width del compas
shouldPaintTempo
public boolean shouldPaintTempo()
shouldPaintTripletFeel
public boolean shouldPaintTripletFeel()
shouldPaintTimeSignature
public boolean shouldPaintTimeSignature()
getMaxQuarterSpan
public int getMaxQuarterSpan()
notifyQuarterSpan
public void notifyQuarterSpan(int span)
getTempoSpan
public int getTempoSpan()
getTripletFeelSpan
public int getTripletFeelSpan()
getTimeSignatureSpan
public int getTimeSignatureSpan()
getClefSpan
public int getClefSpan()
getKeySignatureSpan
public int getKeySignatureSpan()
getFirstNoteSpan
public int getFirstNoteSpan()
notifyClefSpan
public void notifyClefSpan(int span)
notifyKeySignatureSpan
public void notifyKeySignatureSpan(int span)
getWidth
public int getWidth()