| nextapp.echo2.app.text.Document
All known Subclasses: nextapp.echo2.app.text.AbstractDocument,
addDocumentListener | public void addDocumentListener(DocumentListener l)(Code) | | Adds a listener which will be notified of changes to the document.
Parameters: l - The listener to add. |
getText | public String getText()(Code) | | Returns the text of the document.
This method should return ab empty string in the event the document
contains no text. Null may not be returned.
The text of the document. |
removeDocumentListener | public void removeDocumentListener(DocumentListener l)(Code) | | Removes a listener from being notified of changes to the document.
Parameters: l - The listener to remove. |
setText | public void setText(String text)(Code) | | Sets the text of the document.
Parameters: text - The new text of the document. |
|
|