Package docking.options.editor
Class FileChooserEditor
java.lang.Object
java.beans.PropertyEditorSupport
docking.options.editor.FileChooserEditor
- All Implemented Interfaces:
PropertyEditor
- Direct Known Subclasses:
StringBasedFileEditor
Bean editor to show a text field and a browse button to bring
up a File Chooser dialog. This editor is created as a result of
get/setFilename() on Options.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Constructor Details
-
FileChooserEditor
public FileChooserEditor() -
FileChooserEditor
-
-
Method Details
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
getValue
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
-