bibliothek.extension.gui.dock.preference.preferences
Class ButtonContentPreference
java.lang.Object
bibliothek.extension.gui.dock.preference.AbstractPreference<V>
bibliothek.extension.gui.dock.preference.DefaultPreference<String>
bibliothek.extension.gui.dock.preference.preferences.ButtonContentPreference
- All Implemented Interfaces:
- Preference<String>
public class ButtonContentPreference
- extends DefaultPreference<String>
A preference for FlapDockStation.BUTTON_CONTENT
.
- Author:
- Benjamin Sigg
Method Summary |
void |
read()
Uses an unknown source to reload this preference. |
void |
write()
Stores the contents of this preference at the location where it will
be used. |
Methods inherited from class bibliothek.extension.gui.dock.preference.DefaultPreference |
doOperation, getDefaultValue, getDescription, getLabel, getOperations, getPath, getTypePath, getValue, getValueInfo, isEnabled, setDefaultValue, setDescription, setLabel, setValue, setValueInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ButtonContentPreference
public ButtonContentPreference(DockProperties properties,
Path path)
- Creates a new preference.
- Parameters:
properties
- the properties to read or write frompath
- the path of this property
read
public void read()
- Description copied from interface:
Preference
- Uses an unknown source to reload this preference.
- Specified by:
read
in interface Preference<String>
- Overrides:
read
in class AbstractPreference<String>
write
public void write()
- Description copied from interface:
Preference
- Stores the contents of this preference at the location where it will
be used.
- Specified by:
write
in interface Preference<String>
- Overrides:
write
in class AbstractPreference<String>