Package org.jjazz.uiutilities.api
Class FontColorUserSettingsProvider.FCSettingAdapter
java.lang.Object
org.jjazz.uiutilities.api.FontColorUserSettingsProvider.FCSettingAdapter
- All Implemented Interfaces:
FontColorUserSettingsProvider.FCSetting
- Enclosing interface:
- FontColorUserSettingsProvider
public static class FontColorUserSettingsProvider.FCSettingAdapter
extends Object
implements FontColorUserSettingsProvider.FCSetting
-
Constructor Summary
ConstructorDescriptionFCSettingAdapter
(String id, String displayName) Create a FCSetting with specified name and id, font and color are null. -
Method Summary
-
Constructor Details
-
FCSettingAdapter
Create a FCSetting with specified name and id, font and color are null.- Parameters:
id
- Id of the settingdisplayName
- Display displayName of the setting
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceFontColorUserSettingsProvider.FCSetting
-
getDisplayName
- Specified by:
getDisplayName
in interfaceFontColorUserSettingsProvider.FCSetting
-
getColor
Default implementation returns null.- Specified by:
getColor
in interfaceFontColorUserSettingsProvider.FCSetting
- Returns:
-
setColor
Default implementation does nothing.- Specified by:
setColor
in interfaceFontColorUserSettingsProvider.FCSetting
- Parameters:
c
-
-
getFont
Default implementation returns null.- Specified by:
getFont
in interfaceFontColorUserSettingsProvider.FCSetting
- Returns:
-
setFont
Default implementation does nothing.- Specified by:
setFont
in interfaceFontColorUserSettingsProvider.FCSetting
- Parameters:
f
-
-
toString
-