public class DocumentEditor extends PropertyEditorSupport
Document.| Constructor and Description |
|---|
DocumentEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
getAsDocument(String text) |
String |
getAsText()
Returns the property as a String.
|
void |
setAsText(String text)
Sets as an Document created by a String.
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportNestedRuntimeException - conversion exception occuredpublic void setAsText(String text)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportNestedRuntimeException - A parse exception occuredCopyright © 2015 JBoss by Red Hat. All rights reserved.