Package docking.theme.gui
Class IconValueEditor
Editor for Theme fonts
-
Field Summary
Fields inherited from class docking.theme.gui.ThemeValueEditor
currentThemeValue, editor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ThemeValue<Icon> createNewThemeValue(String id, Icon icon) Factory method for creating the ThemeValue of the correct type.protected IcongetRawValue(String id) Returns the actual value (Color, Font, or Icon)Methods inherited from class docking.theme.gui.ThemeValueEditor
editValue, storeState
-
Constructor Details
-
IconValueEditor
Constructor- Parameters:
listener- thePropertyChangeListenerto be notified when changes are made
-
-
Method Details
-
getRawValue
Description copied from class:ThemeValueEditorReturns the actual value (Color, Font, or Icon)- Specified by:
getRawValuein classThemeValueEditor<Icon>- Parameters:
id- the theme property id for the value- Returns:
- the current stored value for the id
-
createNewThemeValue
Description copied from class:ThemeValueEditorFactory method for creating the ThemeValue of the correct type.- Specified by:
createNewThemeValuein classThemeValueEditor<Icon>- Parameters:
id- the id for theme propertyicon- the new value for the underlying type (Color, Font, or Icon)- Returns:
- the new ThemeValue for the type
-