Package com.sun.xfilechooser
Class XFileChooserEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- com.sun.xfilechooser.XFileChooserEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class XFileChooserEditor extends java.beans.PropertyEditorSupport
An editor to set the current Directory and selected file. Used during customization via a bean editor.- See Also:
#XFileChooserBeanInfo
-
-
Constructor Summary
Constructors Constructor Description XFileChooserEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsText()
Gets the String representation of XFile objectvoid
setAsText(java.lang.String text)
Sets the selected file path
-
-
-
Method Detail
-
getAsText
public java.lang.String getAsText()
Gets the String representation of XFile object- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
- Returns:
- String name of XFile object
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
Sets the selected file path- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
- Parameters:
String
- name of file path- Throws:
java.lang.IllegalArgumentException
-
-