Package com.sun.xfilechooser
Class XFileChooserEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.sun.xfilechooser.XFileChooserEditor
- All Implemented Interfaces:
PropertyEditor
An editor to set the current Directory and selected file. Used during
customization via a bean editor.
- See Also:
-
#XFileChooserBeanInfo
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
XFileChooserEditor
public XFileChooserEditor()
-
-
Method Details
-
getAsText
Gets the String representation of XFile object- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
- Returns:
- String name of XFile object
-
setAsText
Sets the selected file path- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Parameters:
String
- name of file path- Throws:
IllegalArgumentException
-