Package docking.options.editor
Class FileChooserEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- docking.options.editor.FileChooserEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
- Direct Known Subclasses:
StringBasedFileEditor
public class FileChooserEditor extends java.beans.PropertyEditorSupportBean 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
Constructors Constructor Description FileChooserEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()java.awt.ComponentgetCustomEditor()java.lang.ObjectgetValue()voidsetAsText(java.lang.String text)voidsetValue(java.lang.Object value)booleansupportsCustomEditor()
-
-
-
Method Detail
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport
-
getValue
public java.lang.Object getValue()
- Specified by:
getValuein interfacejava.beans.PropertyEditor- Overrides:
getValuein classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport- Throws:
java.lang.IllegalArgumentException
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValuein interfacejava.beans.PropertyEditor- Overrides:
setValuein classjava.beans.PropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
supportsCustomEditorin classjava.beans.PropertyEditorSupport
-
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
getCustomEditorin classjava.beans.PropertyEditorSupport
-
-