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

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

public class PageViewLayout
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
PageViewLayout(Tablature tablature, int style)
           
 
Method Summary
 int getMaxWidth()
           
 int getMode()
           
 org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine getTempLines(TGTrack track, int fromIndex, TrackSpacing ts)
           
 void paintLine(TGTrackImpl track, org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine line, 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, getMarkerSpacing, getMinBufferSeparator, getMinScoreTabSpacing, getMinSpacing, getMinTopSpacing, getNoteOrientation, getOrientation, getRepeatEndingSpacing, getResources, getScale, getScoreLineSpacing, getScoreSpacing, getSongManager, getSpacingForQuarter, getStringSpacing, getStyle, getTablature, getTextSpacing, getTrackNumberAt, getTrackPositionAt, getTrackSpacing, getTupletoSpacing, getVoiceWidth, 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, setMarkerSpacing, setMarkerStyle, 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

PageViewLayout

public PageViewLayout(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

paintLine

public void paintLine(TGTrackImpl track,
                      org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine line,
                      TGPainter painter,
                      int fromX,
                      int fromY,
                      TrackSpacing ts,
                      Rectangle clientArea)

getTempLines

public org.herac.tuxguitar.gui.editors.tab.layout.PageViewLayout.TempLine getTempLines(TGTrack track,
                                                                                       int fromIndex,
                                                                                       TrackSpacing ts)

getMaxWidth

public int getMaxWidth()