getRichText(Document document) Returns the rich text encoded RTF string from the specified document.
Parameters: document - The document to be converted.
public void
insertInto(Document document) Inserts this rich text into the specified component.
Hook for subclassers to create a default document. This implementation
uses
JGraphpadRichTextValue.editorKit to create the document and sets its value.
Returns a new empty default document.
Returns a plain text representation of the specified rich text value. If
an exception occurs during conversion then the RTF encoded string is
returned instead.
Parameters: richText - The rich text value to be converted. Returns the plain text representation.
Returns the rich text encoded RTF string from the specified document.
Parameters: document - The document to be converted. Returns the RTF encoded document.
Inserts this rich text into the specified component. This implementation
silently ignores all exceptions.
Parameters: document - The document to insert the rich text into.