com.sun.xfilechooser

Class FileModeEditor


public class FileModeEditor
extends PropertyEditorSupport

An editor to set the File Selection Mode of XFileChooser. Used during customization via a bean editor.
See Also:
FileModeEditor

Method Summary

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

Method Details

getAsText

public String getAsText()
Gets the integer value of current selection file mode and returns the corresponding string of file mode.
Returns:
String name of file mode setting

getTags

public String[] getTags()
Provides the valid selection file modes: Files, Directories or Files/Directories
Returns:
String name of the valid file modes

setAsText

public void setAsText(String text)
            throws IllegalArgumentException
Sets the selected file mode
Parameters:
text - name of selected file mode