public abstract class PreferenceText extends TextValue
Preference
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_PREFERENCE
the kind of
UIValue this is |
Constructor and Description |
---|
PreferenceText(String id,
Preference<?> preference)
Creates a new text.
|
Modifier and Type | Method and Description |
---|---|
Preference<?> |
getPreference()
Gets the preference for which this text is used.
|
me, setController
public PreferenceText(String id, Preference<?> preference)
id
- the unique identifier of the textpreference
- the preference for which the text is usedpublic Preference<?> getPreference()