Package docking.options.editor
Class StringBasedFileEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- docking.options.editor.FileChooserEditor
-
- docking.options.editor.StringBasedFileEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class StringBasedFileEditor extends FileChooserEditor
APropertyEditor
that allows the user to edit strings by way of a File editor, as is done byStringBasedFileEditor
. 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 outString
objects.
-
-
Constructor Summary
Constructors Constructor Description StringBasedFileEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
void
setValue(java.lang.Object value)
-
Methods inherited from class docking.options.editor.FileChooserEditor
getAsText, getCustomEditor, setAsText, supportsCustomEditor
-
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interfacejava.beans.PropertyEditor
- Overrides:
setValue
in classFileChooserEditor
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classFileChooserEditor
-
-