Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout
org.herac.tuxguitar.gui.editors.tab.layout.PrinterViewLayout
public class PrinterViewLayout
extends ViewLayout
Nested Class Summary |
Nested classes/interfaces inherited from class org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout | |
ViewLayout.TrackPosition |
Field Summary | |
static boolean | |
protected static int | |
protected static int | |
protected static int | |
protected static int | |
protected static int | |
protected static int |
Fields inherited from class org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout | |
AUTO_SPACING_ENABLED , DEFAULT_EFFECT_SPAN , DEFAULT_FIRST_TRACK_SPAN , DEFAULT_HORIZONTAL_SPAN , DEFAULT_MIN_TOP_SPAN , DEFAULT_MODE , DEFAULT_SCORE_LINE_SPAN , DEFAULT_SCORE_SPAN , DEFAULT_STRING_SPAN , DEFAULT_TRACK_SPAN , MIN_SCORE_TAB_SPAN , MODE_LINEAR , MODE_PAGE |
Constructor Summary | |
|
Method Summary | |
boolean |
|
int | |
int | |
int | |
int | |
int | |
int | |
int |
|
int | |
int |
|
int |
|
int | |
org.herac.tuxguitar.gui.editors.tab.layout.PrinterViewLayout.TempLine |
|
boolean | |
boolean |
|
boolean |
|
boolean | |
PrintDocument |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public static final boolean AUTO_SPACING_ENABLED
- Field Value:
- true
protected static final int DEFAULT_FIRST_TRACK_SPAN
- Field Value:
- 8
protected static final int DEFAULT_SCORE_LINE_SPAN
- Field Value:
- 7
protected static final int DEFAULT_SCORE_SPAN
- Field Value:
- 55
protected static final int DEFAULT_STRING_SPAN
- Field Value:
- 8
protected static final int DEFAULT_TRACK_SPAN
- Field Value:
- 8
protected static final int MIN_SCORE_TAB_SPAN
- Field Value:
- 20
public PrinterViewLayout(Tablature tablature, SongManager songManager, PrintDocumentData data)
public boolean followMeasure(MeasureCoords measure, boolean redraw)
- Overrides:
- followMeasure in interface ViewLayout
public int getDefaultEffectSpan()
- Overrides:
- getDefaultEffectSpan in interface ViewLayout
public int getDefaultFirstTrackSpan()
- Overrides:
- getDefaultFirstTrackSpan in interface ViewLayout
public int getDefaultTrackSpan()
- Overrides:
- getDefaultTrackSpan in interface ViewLayout
public int getMaxHeight()
public int getMaxWidth()
public int getMinScoreTabSpan()
- Overrides:
- getMinScoreTabSpan in interface ViewLayout
public int getSkippedBeats(List measuresCoords)
public int getSpanForQuarter(Duration duration)
Calcula el espacio minimo entre negras, dependiendo de la duracion de la nota
- Overrides:
- getSpanForQuarter in interface ViewLayout
public org.herac.tuxguitar.gui.editors.tab.layout.PrinterViewLayout.TempLine getTempLines(int posX, List measuresCoords, int fromIndex, TrackSpacing ts)
public boolean isFirstMeasure(Measure measure)
- Overrides:
- isFirstMeasure in interface ViewLayout
public boolean isLastMeasure(Measure measure)
- Overrides:
- isLastMeasure in interface ViewLayout
public boolean isPlayModeEnabled()
- Overrides:
- isPlayModeEnabled in interface ViewLayout
public void paintHeader(GC gc)
public void paintLine(SongTrackCoords trackCoords, org.herac.tuxguitar.gui.editors.tab.layout.PrinterViewLayout.TempLine line, GC gc, int fromX, int fromY, TrackSpacing ts, Rectangle clientArea)
public void paintSong(GC gc, Rectangle clientArea, int fromX, int fromY)
- Overrides:
- paintSong in interface ViewLayout
public void paintSong(GC gc, int fromX, int fromY)
public void paintTracks(List tracksCoords, GC gc, Rectangle clientArea, int fromX, int fromY)
- Overrides:
- paintTracks in interface ViewLayout
public void setTimeSignatureStyle(GC gc)
- Overrides:
- setTimeSignatureStyle in interface ViewLayout