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

java.lang.Object
  extended by org.herac.tuxguitar.gui.editors.tab.MeasureHeaderGui

public class MeasureHeaderGui
extends java.lang.Object


Field Summary
static int DEFAULT_LEFT_SPAN
          Espacio por defecto a la izquierda
static int DEFAULT_RIGHT_SPAN
          Espacio por defecto a la derecha
static int DEFAULT_TIME_SIGNATURE_SPAN
          Espacio por defecto del timeSignature
 
Constructor Summary
MeasureHeaderGui(MeasureHeader header)
           
 
Method Summary
 void calculateMeasureChanges(ViewLayout layout)
           
 void calculateWidth()
          Calcula el width del compas
 int getClefSpan()
           
 int getFirstNoteSpan()
           
 int getKeySignatureSpan()
           
 int getMaxQuarterSpan()
           
 int getTempoSpan()
           
 int getTimeSignatureSpan()
           
 int getTripletFeelSpan()
           
 int getWidth()
           
 void notifyClefSpan(int span)
           
 void notifyKeySignatureSpan(int span)
           
 void notifyQuarterSpan(int span)
           
 void reset()
           
 boolean shouldPaintTempo()
           
 boolean shouldPaintTimeSignature()
           
 boolean shouldPaintTripletFeel()
           
 void update(ViewLayout layout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MeasureHeaderGui

public MeasureHeaderGui(MeasureHeader header)
Method Detail

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()