com.sun.xfilechooser
Class DialogEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.sun.xfilechooser.DialogEditor

public class DialogEditor
extends java.beans.PropertyEditorSupport

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

See Also:
#XFileChooserBeanInfo

Constructor Summary
DialogEditor()
           
 
Method Summary
 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
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogEditor

public DialogEditor()
Method Detail

getTags

public java.lang.String[] getTags()
Provides the valid dialog type: Open, Save, or Custom
Returns:
String name of the valid dialog type
Overrides:
getTags in class java.beans.PropertyEditorSupport

getAsText

public java.lang.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
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Sets the selected dialog type
Parameters:
text - name of selected dialog type
Overrides:
setAsText in class java.beans.PropertyEditorSupport