Package docking.options.editor

# Class StringBasedFileEditor

java.lang.Object
java.beans.PropertyEditorSupport
docking.options.editor.FileChooserEditor
docking.options.editor.StringBasedFileEditor

All Implemented Interfaces:
  `PropertyEditor`

public class StringBasedFileEditor extends FileChooserEditor
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

  Constructors
  Constructor
  Description
  `StringBasedFileEditor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getValue()`
  `void`
  `setValue(Object value)`

  ### 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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StringBasedFileEditor

    public StringBasedFileEditor()

- ## Method Details

  - ### setValue

    public void setValue(Object value)
    Specified by:
      `setValue` in interface `PropertyEditor`
    Overrides:
      `setValue` in class `FileChooserEditor`

  - ### getValue

    public Object getValue()
    Specified by:
      `getValue` in interface `PropertyEditor`
    Overrides:
      `getValue` in class `FileChooserEditor`