Package com.sun.xfilechooser
Class DialogEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- com.sun.xfilechooser.DialogEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class DialogEditor extends java.beans.PropertyEditorSupportAn editor to set the Dialog Type of XFileChooser. Used during customization via a bean editor.- See Also:
#XFileChooserBeanInfo
-
-
Constructor Summary
Constructors Constructor Description DialogEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()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 CustomvoidsetAsText(java.lang.String text)Sets the selected dialog type
-
-
-
Method Detail
-
getTags
public java.lang.String[] getTags()
Provides the valid dialog type: Open, Save, or Custom- Specified by:
getTagsin interfacejava.beans.PropertyEditor- Overrides:
getTagsin classjava.beans.PropertyEditorSupport- Returns:
- String name of the valid dialog type
-
getAsText
public java.lang.String getAsText()
Gets the integer value of current selected dialog type and returns the corresponding string of dialog type.- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport- Returns:
- String name of type of dialog
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentExceptionSets the selected dialog type- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport- Parameters:
text- name of selected dialog type- Throws:
java.lang.IllegalArgumentException
-
-