Package de.sciss.app

Interface DocumentListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    BasicMenuFactory

    public interface DocumentListener
    extends java.util.EventListener
    Interface for listening the changes of the list of documents of an application. They are usually generated by the DocumentHandler of the application.
    See Also:
    DocumentHandler
    • 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.getDocument will return the newly active document (or null, if no document is active any more).
        Parameters:
        e - the event describing the change