org.herac.tuxguitar.gui.editors.tab.layout
Class PageViewLayout
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout
org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout
public class PageViewLayout
- extends ViewLayout
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 |
Method Summary |
boolean |
followMeasure(MeasureCoords measure,
boolean redraw)
|
int |
getMaxWidth()
|
int |
getMode()
|
org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine |
getTempLines(int posX,
java.util.List measuresCoords,
int fromIndex,
TrackSpacing ts)
|
void |
paintLine(SongTrackCoords trackCoords,
org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine line,
GC gc,
int fromX,
int fromY,
TrackSpacing ts,
int trackIdx,
Rectangle clientArea)
|
void |
paintSong(GC gc,
Rectangle clientArea,
int fromX,
int fromY)
|
void |
paintTracks(java.util.List tracksCoords,
GC gc,
Rectangle clientArea,
int fromX,
int fromY)
|
Methods inherited from class org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout |
addTrackPosition, checkTopSpan, clearTrackPositions, disposeHarmonicNotes, disposeLayout, disposeScoreNotes, disposeTracks, fireUpdate, getDefaultEffectSpan, getDefaultFirstTrackSpan, getDefaultTrackSpan, getHarmonicNote, getHeight, getMinScoreTabSpan, getNoteOrientation, getOrientation, getScoreLineSpan, getScoreNote, getScoreNoteWidth, getSongManager, getSpanForQuarter, getStringSpan, getTablature, getTrackCount, getTrackNumberAt, getTrackPositionAt, getWidth, isCaretVisible, isFirstMeasure, isLastMeasure, isMultitrack, isMultiTrack, isPlayModeEnabled, isScoreEnabled, isTablatureEnabled, paint, paintCacheMode, paintCaret, paintLines, paintMeasure, setDefaultStyle, setGraceStyle, setHeight, setLineColor, setLyricStyle, setMultitrack, setNoteStyle, setOfflineEffectStyle, setPlayNoteColor, setScoreEnabled, setScoreNoteColor, setScoreSpan, setSongManager, setTablature, setTablatureEnabled, setTabNoteColor, setTimeSignatureStyle, setTupletoStyle, setWidth, updateLyrics, updateSong, updateTracks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageViewLayout
public PageViewLayout(Tablature tablature,
SongManager songManager,
boolean multitrack,
boolean scoreEnabled,
boolean tablatureEnabled)
getMode
public int getMode()
- Specified by:
getMode
in class ViewLayout
paintSong
public void paintSong(GC gc,
Rectangle clientArea,
int fromX,
int fromY)
- Specified by:
paintSong
in class ViewLayout
paintTracks
public void paintTracks(java.util.List tracksCoords,
GC gc,
Rectangle clientArea,
int fromX,
int fromY)
- Specified by:
paintTracks
in class ViewLayout
paintLine
public void paintLine(SongTrackCoords trackCoords,
org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine line,
GC gc,
int fromX,
int fromY,
TrackSpacing ts,
int trackIdx,
Rectangle clientArea)
getTempLines
public org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine getTempLines(int posX,
java.util.List measuresCoords,
int fromIndex,
TrackSpacing ts)
followMeasure
public boolean followMeasure(MeasureCoords measure,
boolean redraw)
- Specified by:
followMeasure
in class ViewLayout
getMaxWidth
public int getMaxWidth()