public class SimpleDirectoryPreferenceProperty extends AbstractBasicChangeableItem implements DirectoryPreferenceProperty
PROPERTY_VALUE| Constructor and Description |
|---|
SimpleDirectoryPreferenceProperty(java.lang.String basicName)
Constructor.
|
SimpleDirectoryPreferenceProperty(java.lang.String basicName,
java.io.File directory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDirectory()
Get the directory.
|
void |
readFrom(java.util.prefs.Preferences preferences)
Read the property value from the preferences.
|
void |
setDirectory(java.io.File directory)
Set the directory.
|
void |
storeTo(java.util.prefs.Preferences preferences)
Store the current property value in the preferences.
|
addValueChangeListener, addValueChangeListenerWeakly, firePropertyChange, fireValueChange, fireValueChange, fireValueChange, getBasicName, getPropertyName, removeValueChangeListener, removeValueChangeListenerWeaklyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeaklypublic SimpleDirectoryPreferenceProperty(@NotNull java.lang.String basicName)
basicName - name or name prefixpublic java.io.File getDirectory()
getDirectory in interface DirectoryPreferencePropertypublic void setDirectory(java.io.File directory)
setDirectory in interface DirectoryPreferencePropertydirectory - new directorypublic void readFrom(@NotNull java.util.prefs.Preferences preferences)
readFrom in interface PreferencePropertypreferences - preferences from where to read the property valuepublic void storeTo(@NotNull java.util.prefs.Preferences preferences)
storeTo in interface PreferencePropertypreferences - preferences where to store the property value