|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.gui.DisplayOptions
This class stores the DisplayOptions related to a Song and the whole program too.
Field Summary | |
protected int |
BottomOffset
how much space below is preserved |
int |
coloringForFrets
type of coloring for the Frets |
int |
coloringForRhythm
type of coloring for the Rhythm lines |
boolean |
displayMusicCursor
display the music cursor ? |
boolean |
displayUnsupportedEffects
display a question mark when the a effect is present but is not painted yet |
protected boolean |
extendBottom
are the lines extend to the bottom |
protected boolean |
extendTop
are lines are extend to the top |
ColorScheme |
fretColors
The colors that are used for vertical rhythm lines |
int |
LS
The spacing between horizontal lines in pixels (LineSpacing) |
boolean |
minPieceSpacing
is the proportional spacing linked to the piece |
boolean |
multiTrackView
is the preferred view MultiTrack ? |
java.awt.Color |
musicCursorColor
|
int |
NS
The horinzal spacing between notes in pixels |
static int |
RELATED_TO_DURATION
|
static int |
RELATED_TO_DYNAMIC
|
static int |
RELATED_TO_NOTHING
|
ColorScheme |
rhythmColors
The colors that are used for vertical rhythm lines |
boolean |
singleMusicCursorColor
if true the musicCursor are all in the same color otherwise each MusicCursor is painted with the Track color |
int |
TopOffset
how far below are the lines draw |
Constructor Summary | |
DisplayOptions()
|
Method Summary | |
protected java.lang.Object |
clone()
|
void |
toggleDisplayUnsupportedEffects()
remember to call validate when necesary. |
void |
toggleMinPieceSpacing()
|
void |
toggleMultiTrackView()
|
void |
toggleSingleMusicCursorColor()
|
void |
toggleViewMusicCursors()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RELATED_TO_NOTHING
public static final int RELATED_TO_DURATION
public static final int RELATED_TO_DYNAMIC
public int LS
public int NS
public int TopOffset
protected int BottomOffset
protected boolean extendTop
protected boolean extendBottom
public ColorScheme rhythmColors
public ColorScheme fretColors
public int coloringForRhythm
public int coloringForFrets
public boolean displayMusicCursor
public boolean displayUnsupportedEffects
public boolean minPieceSpacing
public boolean multiTrackView
public boolean singleMusicCursorColor
public java.awt.Color musicCursorColor
Constructor Detail |
public DisplayOptions()
Method Detail |
protected java.lang.Object clone()
public void toggleMinPieceSpacing()
public void toggleDisplayUnsupportedEffects()
public void toggleSingleMusicCursorColor()
public void toggleViewMusicCursors()
public void toggleMultiTrackView()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |