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
APropertyEditorthat 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
Stringobjects and will only give outStringobjects.
-
-
Constructor Summary
Constructors Constructor Description StringBasedFileEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue()voidsetValue(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:
setValuein interfacejava.beans.PropertyEditor- Overrides:
setValuein classFileChooserEditor
-
getValue
public java.lang.Object getValue()
- Specified by:
getValuein interfacejava.beans.PropertyEditor- Overrides:
getValuein classFileChooserEditor
-
-