com.sun.xfilechooser
Class XFileChooserEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.sun.xfilechooser.XFileChooserEditor

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
XFileChooserEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Gets the String representation of XFile object
 void setAsText(java.lang.String text)
          Sets the selected file path
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XFileChooserEditor

public XFileChooserEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Gets the String representation of XFile object
Returns:
String name of XFile object
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Sets the selected file path
Parameters:
String - name of file path
Overrides:
setAsText in class java.beans.PropertyEditorSupport