org.herac.tuxguitar.gui.editors.tab.layout
public class PrinterViewLayout extends ViewLayout
Field Summary | |
---|---|
static boolean | AUTO_SPACING_ENABLED |
protected static int | DEFAULT_FIRST_TRACK_SPAN |
protected static int | DEFAULT_SCORE_LINE_SPAN |
protected static int | DEFAULT_SCORE_SPAN |
protected static int | DEFAULT_STRING_SPAN |
protected static int | DEFAULT_TRACK_SPAN |
protected static int | MIN_SCORE_TAB_SPAN |
Constructor Summary | |
---|---|
PrinterViewLayout(Tablature tablature, SongManager songManager, PrintDocumentData data) |
Method Summary | |
---|---|
boolean | followMeasure(MeasureCoords measure, boolean redraw) |
int | getDefaultEffectSpan() |
int | getDefaultFirstTrackSpan() |
int | getDefaultTrackSpan() |
int | getMaxHeight() |
int | getMaxWidth() |
int | getMinScoreTabSpan() |
int | getMode() |
int | getScoreLineSpan() |
int | getSkippedBeats(List measuresCoords) |
int | getSpanForQuarter(Duration duration)
Calcula el espacio minimo entre negras, dependiendo de la duracion de la nota |
int | getStringSpan() |
PrinterViewLayout.TempLine | getTempLines(int posX, List measuresCoords, int fromIndex, TrackSpacing ts) |
boolean | isCaretVisible() |
boolean | isFirstMeasure(Measure measure) |
boolean | isLastMeasure(Measure measure) |
boolean | isPlayModeEnabled() |
PrintDocument | makeDocument(Rectangle size) |
void | paintHeader(GC gc) |
void | paintLine(SongTrackCoords trackCoords, PrinterViewLayout.TempLine line, GC gc, int fromX, int fromY, TrackSpacing ts, Rectangle clientArea) |
void | paintSong(GC gc, Rectangle clientArea, int fromX, int fromY) |
void | paintSong(GC gc, int fromX, int fromY) |
void | paintTracks(List tracksCoords, GC gc, Rectangle clientArea, int fromX, int fromY) |
void | setDefaultStyle(GC gc) |
void | setNoteStyle(GC gc) |
void | setTimeSignatureStyle(GC gc) |