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

java.lang.Object
  extended by org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout
      extended by org.herac.tuxguitar.gui.editors.tab.layout.LinearViewLayout

public class LinearViewLayout
extends ViewLayout


Nested Class Summary
 
Nested classes/interfaces inherited from class org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout
ViewLayout.TrackPosition
 
Field Summary
 
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
LinearViewLayout(Tablature tablature, SongManager songManager, boolean multitrack, boolean scoreEnabled, boolean tablatureEnabled)
           
 
Method Summary
 boolean followMeasure(MeasureCoords measure, boolean redraw)
           
 int getMode()
           
 void paintMeasures(SongTrackCoords trackCoords, java.util.List measuresCoords, GC gc, int fromX, int fromY, TrackSpacing ts, 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
 

Constructor Detail

LinearViewLayout

public LinearViewLayout(Tablature tablature,
                        SongManager songManager,
                        boolean multitrack,
                        boolean scoreEnabled,
                        boolean tablatureEnabled)
Method Detail

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

paintMeasures

public void paintMeasures(SongTrackCoords trackCoords,
                          java.util.List measuresCoords,
                          GC gc,
                          int fromX,
                          int fromY,
                          TrackSpacing ts,
                          Rectangle clientArea)

followMeasure

public boolean followMeasure(MeasureCoords measure,
                             boolean redraw)
Specified by:
followMeasure in class ViewLayout