public class DocumentEditor extends PropertyEditorSupport
PropertyEditor for the Document class.
The string value must a JSON document parsable via the
Json.parse(String) method.
| Constructor and Description |
|---|
DocumentEditor()
Creates a new DocumentEditor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(String documentString)
Parse a string to a
Document. |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(String documentString)
Document.setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportCopyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.