|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.text.AbstractDocument
public abstract class AbstractDocument
An abstract implementation of a text component model. Provides listener management and notification facilities.
Field Summary | |
---|---|
protected EventListenerList |
listenerList
Listener storage facility. |
Constructor Summary | |
---|---|
AbstractDocument()
Default constructor. |
Method Summary | |
---|---|
void |
addDocumentListener(DocumentListener l)
Adds a listener which will be notified of changes to the document. |
void |
fireDocumentUpdate(DocumentEvent e)
Notifies listeners about an update to the document. |
void |
removeDocumentListener(DocumentListener l)
Removes a listener from being notified of changes to the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echo.app.text.Document |
---|
getText, setText |
Field Detail |
---|
protected EventListenerList listenerList
Constructor Detail |
---|
public AbstractDocument()
Method Detail |
---|
public void addDocumentListener(DocumentListener l)
addDocumentListener
in interface Document
l
- the listener to addDocument.addDocumentListener(DocumentListener)
public void fireDocumentUpdate(DocumentEvent e)
e
- an event describing the changes to the documentpublic void removeDocumentListener(DocumentListener l)
removeDocumentListener
in interface Document
l
- the listener to removeDocument.removeDocumentListener(DocumentListener)
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |