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, supportsCustomEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
NestedRuntimeException
- conversion exception occuredpublic void setAsText(String text)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
NestedRuntimeException
- A parse exception occuredCopyright © 2018 JBoss by Red Hat. All rights reserved.