AUTO_SPACING_ENABLED
public static final boolean AUTO_SPACING_ENABLED
DEFAULT_EFFECT_SPAN
public static final int DEFAULT_EFFECT_SPAN
DEFAULT_FIRST_TRACK_SPAN
protected static final int DEFAULT_FIRST_TRACK_SPAN
DEFAULT_HORIZONTAL_SPAN
protected static final int DEFAULT_HORIZONTAL_SPAN
DEFAULT_MIN_TOP_SPAN
protected static final int DEFAULT_MIN_TOP_SPAN
DEFAULT_MODE
public static final int DEFAULT_MODE
DEFAULT_SCORE_LINE_SPAN
protected static final int DEFAULT_SCORE_LINE_SPAN
DEFAULT_SCORE_SPAN
protected static final int DEFAULT_SCORE_SPAN
DEFAULT_STRING_SPAN
protected static final int DEFAULT_STRING_SPAN
DEFAULT_TRACK_SPAN
protected static final int DEFAULT_TRACK_SPAN
MIN_SCORE_TAB_SPAN
protected static final int MIN_SCORE_TAB_SPAN
MODE_LINEAR
public static final int MODE_LINEAR
MODE_PAGE
public static final int MODE_PAGE
addTrackPosition
protected void addTrackPosition(int track,
int posY,
int height)
clearTrackPositions
protected void clearTrackPositions()
disposeHarmonicNotes
protected void disposeHarmonicNotes()
disposeLayout
public void disposeLayout()
disposeScoreNotes
protected void disposeScoreNotes()
disposeTracks
protected void disposeTracks()
fireUpdate
public void fireUpdate(int measureNumber,
boolean isNew)
followMeasure
public abstract boolean followMeasure(MeasureCoords measure,
boolean redraw)
getDefaultEffectSpan
public int getDefaultEffectSpan()
getDefaultFirstTrackSpan
public int getDefaultFirstTrackSpan()
getDefaultTrackSpan
public int getDefaultTrackSpan()
getHarmonicNote
public Image getHarmonicNote(int value,
boolean playMode)
getHeight
public int getHeight()
getMinScoreTabSpan
public int getMinScoreTabSpan()
getMode
public abstract int getMode()
getNoteOrientation
public Rectangle getNoteOrientation(GC gc,
int x,
int y,
Note note)
getOrientation
public Rectangle getOrientation(GC gc,
int x,
int y,
String s)
getScoreLineSpan
public int getScoreLineSpan()
getScoreNote
public Image getScoreNote(int value,
boolean playMode)
getScoreNoteWidth
public int getScoreNoteWidth()
getSpanForQuarter
public int getSpanForQuarter(Duration duration)
Calcula el espacio minimo entre negras, dependiendo de la duracion de la nota
getStringSpan
public int getStringSpan()
getTrackCount
protected int getTrackCount()
getTrackNumberAt
public int getTrackNumberAt(List tracksCoords,
int y)
getWidth
public int getWidth()
isCaretVisible
public boolean isCaretVisible()
isFirstMeasure
public boolean isFirstMeasure(Measure measure)
isLastMeasure
public boolean isLastMeasure(Measure measure)
isMultiTrack
protected boolean isMultiTrack()
isMultitrack
public boolean isMultitrack()
isPlayModeEnabled
public boolean isPlayModeEnabled()
isScoreEnabled
public boolean isScoreEnabled()
isTablatureEnabled
public boolean isTablatureEnabled()
paint
public void paint(GC gc,
Rectangle clientArea,
int fromX,
int fromY)
paintCacheMode
public void paintCacheMode(GC gc,
MeasureCoords measure,
List components,
boolean paintMeasure,
boolean playModeEnabled)
Pinta el compas y las notas que estan sonando
paintCaret
public void paintCaret(GC gc)
Pinta el caret
paintMeasure
public void paintMeasure(MeasureCoords measureCoords,
GC gc,
int fromX,
int fromY,
int span,
Rectangle clientArea)
paintSong
public abstract void paintSong(GC gc,
Rectangle clientArea,
int fromX,
int fromY)
paintTracks
public abstract void paintTracks(List tracksCoords,
GC gc,
Rectangle clientArea,
int fromX,
int fromY)
setDefaultStyle
public void setDefaultStyle(GC gc)
setGraceStyle
public void setGraceStyle(GC gc)
setHeight
public void setHeight(int height)
setLineColor
public void setLineColor(GC gc)
setLyricStyle
public void setLyricStyle(GC gc)
setMultitrack
public void setMultitrack(boolean multitrack)
setNoteStyle
public void setNoteStyle(GC gc)
setOfflineEffectStyle
public void setOfflineEffectStyle(GC gc)
setPlayNoteColor
public void setPlayNoteColor(GC gc)
setScoreEnabled
public void setScoreEnabled(boolean scoreEnabled)
setScoreNoteColor
public void setScoreNoteColor(GC gc)
setScoreSpan
public void setScoreSpan(int scoreSpan)
setSongManager
public void setSongManager(SongManager songManager)
setTabNoteColor
public void setTabNoteColor(GC gc)
setTablature
public void setTablature(Tablature tablature)
setTablatureEnabled
public void setTablatureEnabled(boolean tablatureEnabled)
setTimeSignatureStyle
public void setTimeSignatureStyle(GC gc)
setTupletoStyle
public void setTupletoStyle(GC gc)
setWidth
public void setWidth(int width)
updateLyrics
public void updateLyrics()
updateSong
public void updateSong()
updateTracks
public void updateTracks()