Class IR_ChordSymbolSettingsAdapter
java.lang.Object
org.jjazz.cl_editor.itemrenderer.api.IR_ChordSymbolSettingsAdapter
- All Implemented Interfaces:
IR_ChordSymbolSettings
A helper class which uses the default implementation for all get...() methods, in order to facilitate subclassing.
-
Field Summary
Fields inherited from interface org.jjazz.cl_editor.itemrenderer.api.IR_ChordSymbolSettings
PROP_DEFAULT_FONT_COLOR, PROP_FONT, PROP_SUBSTITUTE_FONT_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetColor()Default color of a chord symbol.chargetFont()The font used to represent a chord symbol e.g.The font to display musical symbols like sharp and flat symbols.charChord symbol color when it has a chord substitute defined.voidvoidvoidvoidsetSubstituteFontColor(Color color)
-
Constructor Details
-
IR_ChordSymbolSettingsAdapter
public IR_ChordSymbolSettingsAdapter()
-
-
Method Details
-
setFont
- Specified by:
setFontin interfaceIR_ChordSymbolSettings- Parameters:
font- If null restore the default value.
-
getFont
Description copied from interface:IR_ChordSymbolSettingsThe font used to represent a chord symbol e.g. "Cm7".- Specified by:
getFontin interfaceIR_ChordSymbolSettings- Returns:
-
setColor
- Specified by:
setColorin interfaceIR_ChordSymbolSettings- Parameters:
color- If null restore the default value.
-
getColor
Description copied from interface:IR_ChordSymbolSettingsDefault color of a chord symbol.- Specified by:
getColorin interfaceIR_ChordSymbolSettings- Returns:
-
setSubstituteFontColor
- Specified by:
setSubstituteFontColorin interfaceIR_ChordSymbolSettings- Parameters:
color- If null restore the default value.
-
getSubstituteFontColor
Description copied from interface:IR_ChordSymbolSettingsChord symbol color when it has a chord substitute defined.- Specified by:
getSubstituteFontColorin interfaceIR_ChordSymbolSettings- Returns:
-
getMusicFont
Description copied from interface:IR_ChordSymbolSettingsThe font to display musical symbols like sharp and flat symbols.- Specified by:
getMusicFontin interfaceIR_ChordSymbolSettings- Returns:
-
getSharpCharInMusicFont
public char getSharpCharInMusicFont()- Specified by:
getSharpCharInMusicFontin interfaceIR_ChordSymbolSettings- Returns:
- The char representing the sharp symbol in the music font.
-
getFlatCharInMusicFont
public char getFlatCharInMusicFont()- Specified by:
getFlatCharInMusicFontin interfaceIR_ChordSymbolSettings- Returns:
- The char representing the flat symbol in the music font.
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceIR_ChordSymbolSettings
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceIR_ChordSymbolSettings
-