com.sun.xfilechooser
public class DialogEditor extends java.beans.PropertyEditorSupport
#XFileChooserBeanInfo
Constructor and Description |
---|
DialogEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Gets the integer value of current selected dialog type and returns the
corresponding string of dialog type.
|
java.lang.String[] |
getTags()
Provides the valid dialog type: Open, Save, or Custom
|
void |
setAsText(java.lang.String text)
Sets the selected dialog type
|
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 dialog typejava.lang.IllegalArgumentException