Interface DocumentSourceListener

All Superinterfaces:
EventListener

public interface DocumentSourceListener extends EventListener
Listener interface for documents. For sources that implements this the user interface will be correctly updated when documents are added, removed or changed in the source.
  • Method Details

    • documentAdded

      void documentAdded(Document added)
      Called when a document is added/created.
      Parameters:
      added - The added document.
    • documentRemoved

      void documentRemoved(Document removed)
      Called when a document is removed.
      Parameters:
      removed - The removed document.
    • documentChanged

      void documentChanged(Document document)
      Called when a document has changed.
      Parameters:
      document - The changed document.