com.sun.xfilechooser
Class FileModeEditor
PropertyEditorSupport
com.sun.xfilechooser.FileModeEditor
public class FileModeEditor
extends PropertyEditorSupport
An editor to set the File Selection Mode of XFileChooser. Used during
customization via a bean editor.
String | getAsText() - Gets the integer value of current selection file mode and returns the
corresponding string of file mode.
|
String[] | getTags() - Provides the valid selection file modes: Files, Directories or
Files/Directories
|
void | setAsText(String text) - Sets the selected file mode
|
getAsText
public String getAsText()
Gets the integer value of current selection file mode and returns the
corresponding string of file mode.
- String name of file mode setting
getTags
public String[] getTags()
Provides the valid selection file modes: Files, Directories or
Files/Directories
- String name of the valid file modes
setAsText
public void setAsText(String text)
throws IllegalArgumentException
Sets the selected file mode
text
- name of selected file mode