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 TypeMethodDescriptionvoiddocumentAdded(Document added) Called when a document is added/created.voiddocumentChanged(Document document) Called when a document has changed.voiddocumentRemoved(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.
-