V - the kind of value to store into the propertiespublic class ChoiceDockPropertyPreference<V> extends DefaultPreference<String>
DockProperties.| Constructor and Description |
|---|
ChoiceDockPropertyPreference(DockProperties properties,
PropertyKey<V> key,
Path path,
DefaultChoice<V> choice)
Creates a new preference.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addPreferenceListener, doOperation, getDefaultValue, getDescription, getLabel, getOperations, getPath, getTypePath, getValue, getValueInfo, isEnabled, isNatural, removePreferenceListener, setDefaultValue, setDescription, setDescriptionId, setLabel, setLabelId, setModel, setNatural, setValue, setValueInfofireChanged, hasListeners, listenerspublic ChoiceDockPropertyPreference(DockProperties properties, PropertyKey<V> key, Path path, DefaultChoice<V> choice)
properties - the properties to read and write fromkey - the key for the property that gets accessedpath - the unique identifier of this preferencechoice - the available choicespublic void write()
Preferencepublic void read()
PreferencePreference should not change its value.Copyright © 2017 Docking Frames. All rights reserved.