|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentListener
Interface for listening
the changes of the list of documents
of an application. They are
usually generated by the DocumentHandler
of the application.
DocumentHandler
Method Summary | |
---|---|
void |
documentAdded(DocumentEvent e)
Notifies the listener that a document has been created and added to the list of open documents. |
void |
documentFocussed(DocumentEvent e)
Notifies the listener that a the active document has been switched. |
void |
documentRemoved(DocumentEvent e)
Notifies the listener that a document has been removed from the list of open documents and was destroyed. |
Method Detail |
---|
void documentAdded(DocumentEvent e)
e
- the event describing
the changevoid documentRemoved(DocumentEvent e)
e
- the event describing
the changevoid documentFocussed(DocumentEvent e)
e.getDocument
will return
the newly active document (or null
,
if no document is active any more).
e
- the event describing
the change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |