Package docking.options.editor
Class StringBasedFileEditor
java.lang.Object
java.beans.PropertyEditorSupport
docking.options.editor.FileChooserEditor
docking.options.editor.StringBasedFileEditor
- All Implemented Interfaces:
PropertyEditor
A
PropertyEditor
that allows the user to edit strings by way of a File editor, as is
done by StringBasedFileEditor
. In other words, the user can use the file chooser to
pick a file. That file is then turned into a String.
This class has the restriction that it will only
take in String
objects and will only give out String
objects.
-
Constructor Summary
-
Method Summary
Methods inherited from class docking.options.editor.FileChooserEditor
getAsText, getCustomEditor, setAsText, supportsCustomEditor
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Constructor Details
-
StringBasedFileEditor
public StringBasedFileEditor()
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classFileChooserEditor
-
getValue
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classFileChooserEditor
-