Package de.sciss.app
Interface DocumentListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
BasicMenuFactory
public interface DocumentListener extends java.util.EventListenerInterface for listening the changes of the list of documents of an application. They are usually generated by theDocumentHandlerof the application.- See Also:
DocumentHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddocumentAdded(DocumentEvent e)Notifies the listener that a document has been created and added to the list of open documents.voiddocumentFocussed(DocumentEvent e)Notifies the listener that a the active document has been switched.voiddocumentRemoved(DocumentEvent e)Notifies the listener that a document has been removed from the list of open documents and was destroyed.
-
-
-
Method Detail
-
documentAdded
void documentAdded(DocumentEvent e)
Notifies the listener that a document has been created and added to the list of open documents.- Parameters:
e- the event describing the change
-
documentRemoved
void documentRemoved(DocumentEvent e)
Notifies the listener that a document has been removed from the list of open documents and was destroyed.- Parameters:
e- the event describing the change
-
documentFocussed
void documentFocussed(DocumentEvent e)
Notifies the listener that a the active document has been switched.e.getDocumentwill return the newly active document (ornull, if no document is active any more).- Parameters:
e- the event describing the change
-
-