com.sun.xfilechooser

Class DialogEditor


public class DialogEditor
extends PropertyEditorSupport

An editor to set the Dialog Type of XFileChooser. Used during customization via a bean editor.
See Also:
DialogEditor

Method Summary

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

Method Details

getAsText

public String getAsText()
Gets the integer value of current selected dialog type and returns the corresponding string of dialog type.
Returns:
String name of type of dialog

getTags

public String[] getTags()
Provides the valid dialog type: Open, Save, or Custom
Returns:
String name of the valid dialog type

setAsText

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