|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.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
A 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.echo2.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 add.Document.addDocumentListener(DocumentListener)
public void fireDocumentUpdate(DocumentEvent e)
e
- An event describing the changes to the document.public void removeDocumentListener(DocumentListener l)
removeDocumentListener
in interface Document
l
- The listener to remove.Document.removeDocumentListener(DocumentListener)
|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |