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
DEFAULT_MODE, DISPLAY_CHORD_DIAGRAM, DISPLAY_CHORD_NAME, DISPLAY_COMPACT, DISPLAY_MULTITRACK, DISPLAY_SCORE, DISPLAY_TABLATURE, MODE_LINEAR, MODE_PAGE
 
Constructor Summary
LinearViewLayout(Tablature tablature, int style)
           
 
Method Summary
 int getMode()
           
 void paintMeasures(TGTrackImpl track, TGPainter painter, int fromX, int fromY, TrackSpacing ts, Rectangle clientArea)
           
 void paintSong(TGPainter painter, Rectangle clientArea, int fromX, int fromY)
           
 
Methods inherited from class org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout
addTrackPosition, checkDefaultSpacing, checkScale, clearTrackPositions, disposeLayout, fireUpdate, getBeatWidth, getChordFretIndexSpacing, getChordFretSpacing, getChordNoteSize, getChordStringSpacing, getDefaultChordSpacing, getEffectSpacing, getFirstMeasureSpacing, getFirstTrackSpacing, getFontScale, getHeight, getMinBufferSeparator, getMinScoreTabSpacing, getMinSpacing, getMinTopSpacing, getNoteOrientation, getOrientation, getRepeatEndingSpacing, getResources, getScale, getScoreLineSpacing, getScoreSpacing, getSongManager, getSpacingForQuarter, getStringSpacing, getStyle, getTablature, getTextSpacing, getTrackNumberAt, getTrackPositionAt, getTrackSpacing, getTupletoSpacing, getWidth, init, isBufferEnabled, isCaretVisible, isFirstMeasure, isLastMeasure, isPlayModeEnabled, paint, paintCaret, paintLines, paintMeasure, paintPlayMode, reloadStyles, setBufferEnabled, setCaretStyle, setChordFretIndexSpacing, setChordFretSpacing, setChordNoteSize, setChordStringSpacing, setChordStyle, setClefStyle, setDivisionsStyle, setDotStyle, setEffectSpacing, setFirstMeasureSpacing, setFirstTrackSpacing, setFontScale, setGraceStyle, setHeight, setKeySignatureStyle, setLineStyle, setLyricStyle, setMeasureNumberStyle, setMeasurePlayingStyle, setMinBufferSeparator, setMinScoreTabSpacing, setMinTopSpacing, setOfflineEffectStyle, setPlayNoteColor, setRepeatEndingSpacing, setRepeatEndingStyle, setScale, setScoreEffectStyle, setScoreLineSpacing, setScoreNoteFooterStyle, setScoreNoteStyle, setScoreSilenceStyle, setScoreSpacing, setStringSpacing, setStyle, setTabEffectStyle, setTablature, setTabNoteFooterStyle, setTabNoteStyle, setTabSilenceStyle, setTempoStyle, setTextSpacing, setTextStyle, setTimeSignatureStyle, setTrackSpacing, setTripletFeelStyle, setTupletoSpacing, setTupletoStyle, setWidth, 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,
                        int style)
Method Detail

getMode

public int getMode()
Specified by:
getMode in class ViewLayout

paintSong

public void paintSong(TGPainter painter,
                      Rectangle clientArea,
                      int fromX,
                      int fromY)
Specified by:
paintSong in class ViewLayout

paintMeasures

public void paintMeasures(TGTrackImpl track,
                          TGPainter painter,
                          int fromX,
                          int fromY,
                          TrackSpacing ts,
                          Rectangle clientArea)