org.herac.tuxguitar.gui.editors.tab.layout

Class PageViewLayout

public class PageViewLayout extends ViewLayout

Constructor Summary
PageViewLayout(Tablature tablature, SongManager songManager, boolean multitrack, boolean scoreEnabled, boolean tablatureEnabled)
Method Summary
booleanfollowMeasure(MeasureCoords measure, boolean redraw)
intgetMaxWidth()
intgetMode()
PageViewLayout.TempLinegetTempLines(int posX, List measuresCoords, int fromIndex, TrackSpacing ts)
voidpaintLine(SongTrackCoords trackCoords, PageViewLayout.TempLine line, GC gc, int fromX, int fromY, TrackSpacing ts, int trackIdx, Rectangle clientArea)
voidpaintSong(GC gc, Rectangle clientArea, int fromX, int fromY)
voidpaintTracks(List tracksCoords, GC gc, Rectangle clientArea, int fromX, int fromY)

Constructor Detail

PageViewLayout

public PageViewLayout(Tablature tablature, SongManager songManager, boolean multitrack, boolean scoreEnabled, boolean tablatureEnabled)

Method Detail

followMeasure

public boolean followMeasure(MeasureCoords measure, boolean redraw)

getMaxWidth

public int getMaxWidth()

getMode

public int getMode()

getTempLines

public PageViewLayout.TempLine getTempLines(int posX, List measuresCoords, int fromIndex, TrackSpacing ts)

paintLine

public void paintLine(SongTrackCoords trackCoords, PageViewLayout.TempLine line, GC gc, int fromX, int fromY, TrackSpacing ts, int trackIdx, Rectangle clientArea)

paintSong

public void paintSong(GC gc, Rectangle clientArea, int fromX, int fromY)

paintTracks

public void paintTracks(List tracksCoords, GC gc, Rectangle clientArea, int fromX, int fromY)