|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.preference.AbstractPreference<V>
bibliothek.extension.gui.dock.preference.DefaultPreference<java.lang.String>
bibliothek.extension.gui.dock.preference.preferences.ChoiceDockPropertyPreference<V>
V - the kind of value to store into the propertiespublic class ChoiceDockPropertyPreference<V>
A preference that offers a choice and write the value into a DockProperties.
| Constructor Summary | |
|---|---|
ChoiceDockPropertyPreference(DockProperties properties,
PropertyKey<V> key,
Path path,
DefaultChoice<V> choice)
Creates a new preference. |
|
| 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 |
|---|
addPreferenceListener, doOperation, getDefaultValue, getDescription, getLabel, getOperations, getPath, getTypePath, getValue, getValueInfo, isEnabled, isNatural, removePreferenceListener, setDefaultValue, setDescription, setDescriptionId, setLabel, setLabelId, setModel, setNatural, setValue, setValueInfo |
| Methods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreference |
|---|
fireChanged, hasListeners, listeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 choices| Method Detail |
|---|
public void write()
Preference
public void read()
PreferencePreference should not change its value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||