public class SwingDirectoryPreferenceProperty extends AbstractBasicSimpleEditableChangeableItem implements DirectoryPreferenceProperty, EditablePreferenceProperty
PROPERTY_VALUE| Constructor and Description |
|---|
SwingDirectoryPreferenceProperty(java.lang.String basicName,
java.lang.String baseTag,
java.io.File directory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDirectory()
Get the directory.
|
EditorProvider |
getEditorProvider(java.util.Locale l)
Get the editor components for editing this preference property.
|
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.
|
getBaseTag, getLabelString, getMenuString, getName, getStringaddValueChangeListener, addValueChangeListenerWeakly, firePropertyChange, fireValueChange, fireValueChange, fireValueChange, getBasicName, getPropertyName, removeValueChangeListener, removeValueChangeListenerWeaklyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameaddValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeaklypublic 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@NotNull public EditorProvider getEditorProvider(@Nullable java.util.Locale l)
getEditorProvider in interface EditablePropertyl - locale used for i18npublic java.io.File getDirectory()
getDirectory in interface DirectoryPreferencePropertypublic void setDirectory(java.io.File directory)
setDirectory in interface DirectoryPreferencePropertydirectory - the directory