public interface BulkAwareDocumentListener extends DocumentListener
DocumentListener-s which only process notifications on document changes performed not in
bulk mode.
DocumentListener, to improve performance.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BulkAwareDocumentListener.Simple
Simple specialization of
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. |
ARRAY_FACTORY, EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
default void |
beforeDocumentChange(DocumentEvent event)
Called before the text of the document is changed.
|
default void |
beforeDocumentChangeNonBulk(DocumentEvent event) |
default void |
documentChanged(DocumentEvent event)
Called after the text of the document has been changed.
|
default void |
documentChangedNonBulk(DocumentEvent event) |
bulkUpdateFinished, bulkUpdateStartingdefault void beforeDocumentChange(DocumentEvent event)
DocumentListenerbeforeDocumentChange in interface DocumentListenerevent - the event containing the information about the change.default void documentChanged(DocumentEvent event)
DocumentListenerdocumentChanged in interface DocumentListenerevent - the event containing the information about the change.default void beforeDocumentChangeNonBulk(DocumentEvent event)
default void documentChangedNonBulk(DocumentEvent event)