Interface DocumentListener


public interface DocumentListener
Notified when a DocumentModel's document is replaced, by an edit, an undo or a redo.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called on the thread that made the change, after the model holds the new document.
  • Method Details

    • documentChanged

      void documentChanged(DocumentModel model, Document before, Document after)

      Called on the thread that made the change, after the model holds the new document.

      Parameters
      • model: the model that changed

      • before: the previous document

      • after: the current document