Class ThemePreference
java.lang.Object
bibliothek.extension.gui.dock.preference.AbstractPreference<V>
bibliothek.extension.gui.dock.preference.DefaultPreference<String>
bibliothek.gui.dock.common.preference.ThemePreference
- All Implemented Interfaces:
Preference<String>
A preference allowing the user to select one
DockTheme. This preference
uses a ThemeMap to read and store its content.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionThemePreference(DockProperties properties, ThemeMap themes) Creates a new preference. -
Method Summary
Methods inherited from class bibliothek.extension.gui.dock.preference.DefaultPreference
addPreferenceListener, doOperation, getDefaultValue, getDescription, getLabel, getOperations, getPath, getTypePath, getValue, getValueInfo, isEnabled, isNatural, removePreferenceListener, setDefaultValue, setDescription, setDescriptionId, setLabel, setLabelId, setModel, setNatural, setValue, setValueInfoMethods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreference
fireChanged, hasListeners, listeners
-
Constructor Details
-
ThemePreference
Creates a new preference.- Parameters:
properties- the default settingsthemes- a list of themes to show
-
-
Method Details
-
read
public void read() -
write
public void write()
-