Interface DocumentSourceListener
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionvoid
documentAdded
(Document added) Called when a document is added/created.void
documentChanged
(Document document) Called when a document has changed.void
documentRemoved
(Document removed) Called when a document is removed.
-
Method Details
-
documentAdded
Called when a document is added/created.- Parameters:
added
- The added document.
-
documentRemoved
Called when a document is removed.- Parameters:
removed
- The removed document.
-
documentChanged
Called when a document has changed.- Parameters:
document
- The changed document.
-