com.sun.xfilechooser
public class FileModeEditor extends java.beans.PropertyEditorSupport
#XFileChooserBeanInfo
Constructor and Description |
---|
FileModeEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Gets the integer value of current selection file mode and returns the
corresponding string of file mode.
|
java.lang.String[] |
getTags()
Provides the valid selection file modes: Files, Directories or
Files/Directories
|
void |
setAsText(java.lang.String text)
Sets the selected file mode
|
public java.lang.String[] getTags()
getTags
in interface java.beans.PropertyEditor
getTags
in class java.beans.PropertyEditorSupport
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
text
- name of selected file modejava.lang.IllegalArgumentException