|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.text.AbstractDocument
nextapp.echo.text.StringDocument
public class StringDocument
A simple implementation of a document that holds a single String of text.
| Field Summary |
|---|
| Fields inherited from class nextapp.echo.text.AbstractDocument |
|---|
listenerList |
| Constructor Summary | |
|---|---|
StringDocument()
Creates a new StringDocument. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Returns the text held in the document. |
void |
setText(java.lang.String text)
Sets the text held in the document. |
| Methods inherited from class nextapp.echo.text.AbstractDocument |
|---|
addDocumentListener, fireDocumentUpdate, removeDocumentListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringDocument()
| Method Detail |
|---|
public java.lang.String getText()
Document.getText()public void setText(java.lang.String text)
text - The new text.Document.setText(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||