public class ClassEditor extends PropertyEditorSupport<Class>
Class.| Constructor and Description |
|---|
ClassEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText()
Gets the property value as text.
|
void |
setAsText(String text)
Set the property value by parsing a given String.
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValuefirePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditorpublic void setAsText(String text)
PropertyEditorsetAsText in interface PropertyEditorsetAsText in class PropertyEditorSupport<Class>text - The string to be parsed.public String getAsText()
PropertyEditorgetAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport<Class>Returns null if the value can't be expressed as an editable string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.