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, supportsCustomEditor
public void setAsText(String documentString)
Document
.setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.