|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Document
A model for text components.
| Method Summary | |
|---|---|
void |
addDocumentListener(DocumentListener l)
Adds a listener which will be notified of changes to the document. |
java.lang.String |
getText()
Returns the text of the document. |
void |
removeDocumentListener(DocumentListener l)
Removes a listener from being notified of changes to the document. |
void |
setText(java.lang.String text)
Sets the text of the document. |
| Method Detail |
|---|
void addDocumentListener(DocumentListener l)
l - The listener to add.java.lang.String getText()
void setText(java.lang.String text)
text - The new text of the document.void removeDocumentListener(DocumentListener l)
l - The listener to remove.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||