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, setValue
firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditor
public void setAsText(String text)
PropertyEditor
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport<Class>
text
- The string to be parsed.public String getAsText()
PropertyEditor
getAsText
in interface PropertyEditor
getAsText
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 © 2014 JBoss by Red Hat. All rights reserved.