com.sun.xfilechooser
Class DialogEditor
PropertyEditorSupportcom.sun.xfilechooser.DialogEditor
public class DialogEditor
extends PropertyEditorSupport
An editor to set the Dialog Type of XFileChooser. Used during
customization via a bean editor.
String | getAsText()- Gets the integer value of current selected dialog type and returns the
corresponding string of dialog type.
|
String[] | getTags()- Provides the valid dialog type: Open, Save, or Custom
|
void | setAsText(String text)- Sets the selected dialog type
|
getAsText
public String getAsText()
Gets the integer value of current selected dialog type and returns the
corresponding string of dialog type.
- String name of type of dialog
getTags
public String[] getTags()
Provides the valid dialog type: Open, Save, or Custom
- String name of the valid dialog type
setAsText
public void setAsText(String text)
throws IllegalArgumentException Sets the selected dialog type
text - name of selected dialog type