bibliothek.extension.gui.dock.preference.preferences
Class ButtonContentPreference

java.lang.Object
  extended by bibliothek.extension.gui.dock.preference.AbstractPreference<V>
      extended by bibliothek.extension.gui.dock.preference.DefaultPreference<String>
          extended by 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

Constructor Summary
ButtonContentPreference(DockProperties properties, Path path)
          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
doOperation, getDefaultValue, getDescription, getLabel, getOperations, getPath, getTypePath, getValue, getValueInfo, isEnabled, isNatural, setDefaultValue, setDescription, setLabel, setNatural, setValue, setValueInfo
 
Methods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreference
addPreferenceListener, fireChanged, listeners, removePreferenceListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonContentPreference

public ButtonContentPreference(DockProperties properties,
                               Path path)
Creates a new preference.

Parameters:
properties - the properties to read or write from
path - the path of this property
Method Detail

read

public void read()
Description copied from interface: Preference
Uses an unknown source to reload this preference. If the underlying resource cannot be interpreted, or contains an invalid value, then this Preference should not change its value.


write

public void write()
Description copied from interface: Preference
Stores the contents of this preference at the location where it will be used.