public static interface BulkAwareDocumentListener.Simple extends BulkAwareDocumentListener
BulkAwareDocumentListener
for the case when the listener doesn't need the details of the changes
(offsets and changed text), and is fine with receiving only one notification for changes done in bulk mode.BulkAwareDocumentListener.Simple
ARRAY_FACTORY, EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
default void |
afterDocumentChange(Document document) |
default void |
beforeDocumentChange(Document document) |
default void |
beforeDocumentChangeNonBulk(DocumentEvent event) |
default void |
bulkUpdateFinished(Document document)
Notifies about
bulk mode being disabled. |
default void |
bulkUpdateStarting(Document document)
Notifies about
bulk mode being enabled. |
default void |
documentChangedNonBulk(DocumentEvent event) |
beforeDocumentChange, documentChanged
default void beforeDocumentChangeNonBulk(DocumentEvent event)
beforeDocumentChangeNonBulk
in interface BulkAwareDocumentListener
default void documentChangedNonBulk(DocumentEvent event)
documentChangedNonBulk
in interface BulkAwareDocumentListener
default void bulkUpdateStarting(Document document)
DocumentListener
bulk mode
being enabled.bulkUpdateStarting
in interface DocumentListener
default void bulkUpdateFinished(Document document)
DocumentListener
bulk mode
being disabled.bulkUpdateFinished
in interface DocumentListener
default void beforeDocumentChange(Document document)
default void afterDocumentChange(Document document)