|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
com.sun.xfilechooser.DialogEditor
public class DialogEditor
An editor to set the Dialog Type of XFileChooser. Used during customization via a bean editor.
#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, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogEditor()
Method Detail |
---|
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 type
java.lang.IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |