bibliothek.extension.gui.dock.preference
Class PreferenceText
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<String,TextValue>
bibliothek.gui.dock.util.text.TextValue
bibliothek.extension.gui.dock.preference.PreferenceText
- All Implemented Interfaces:
- UIValue<String>
public abstract class PreferenceText
- extends TextValue
A text that is used for a Preference
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue |
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KIND_PREFERENCE
public static final Path KIND_PREFERENCE
- the kind of
UIValue
this is
PreferenceText
public PreferenceText(String id,
Preference<?> preference)
- Creates a new text.
- Parameters:
id
- the unique identifier of the textpreference
- the preference for which the text is used
getPreference
public Preference<?> getPreference()
- Gets the preference for which this text is used.
- Returns:
- the text