Package com.sun.xfilechooser
Class DialogEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.sun.xfilechooser.DialogEditor
- All Implemented Interfaces:
PropertyEditor
An editor to set the Dialog Type of XFileChooser. Used during
customization via a bean editor.
- See Also:
-
#XFileChooserBeanInfo
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
DialogEditor
public DialogEditor()
-
-
Method Details
-
getTags
Provides the valid dialog type: Open, Save, or Custom- Specified by:
getTags
in interfacePropertyEditor
- Overrides:
getTags
in classPropertyEditorSupport
- Returns:
- String name of the valid dialog type
-
getAsText
Gets the integer value of current selected dialog type and returns the corresponding string of dialog type.- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
- Returns:
- String name of type of dialog
-
setAsText
Sets the selected dialog type- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Parameters:
text
- name of selected dialog type- Throws:
IllegalArgumentException
-