| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.herac.tuxguitar.gui.tab.layout.ViewLayoutorg.herac.tuxguitar.gui.tab.layout.PrinterViewLayoutpublic class PrinterViewLayoutextends ViewLayoutNested Class Summary |
Nested classes/interfaces inherited from class org.herac.tuxguitar.gui.tab.layout.ViewLayout | |
ViewLayout.TrackPosition | |
Field Summary | |
protected static int | |
protected static int | |
protected static int | |
protected static int | |
Fields inherited from class org.herac.tuxguitar.gui.tab.layout.ViewLayout | |
AUTO_SPACING_ENABLED, 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 | |
void |
|
int | |
int | |
Point |
|
int |
|
int | |
int | |
SongTrackCoords |
|
boolean | |
boolean | |
PrintDocument | |
PrintDocument |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected static final int BOTTON_SPAN
- Field Value:
- 100
protected static final int DEFAULT_LINEAR_SPAN
- Field Value:
- 120
protected static final int DEFAULT_STRING_SPAN
- Field Value:
- 10
protected static final int DEFAULT_TRACK_SPAN
- Field Value:
- 100
public PrinterViewLayout(Tablature tablature, SongManager songManager, boolean multitrack, boolean scoreEnabled)
public void followMeasure(MeasureCoords measure, boolean redraw)
- Overrides:
- followMeasure in interface ViewLayout
public int getMaxHeight()
public int getMaxWidth()
public Point getNoteOrientation(GC gc,
int x,
int y,
Note note)
- Overrides:
- getNoteOrientation in interface ViewLayout
public int getSpanForQuarter(Duration duration)
Calcula el espacio minimo entre negras, dependiendo de la duracion de la nota
- Overrides:
- getSpanForQuarter in interface ViewLayout
public int getStartPosY()
public boolean isPlayModeEnabled()
- Overrides:
- isPlayModeEnabled in interface ViewLayout
public void paintHeader(GC gc)
public void paintMeasures(SongTrackCoords trackCoords, List measuresCoords, GC gc, int fromX, int fromY, Rectangle clientArea)
- Overrides:
- paintMeasures in interface ViewLayout
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