public static interface BasicDocument.PrePostDocumentListener
extends java.util.EventListener
PrePostDocumentListener
is a listener interface that allows secondary models (such as a DocumentRenderer or CodeFoldingModel) to be notified before and/or after regular document notification. This ensures that such secondary models will be up-to-date by the time any dependent views are notified through the regular document notification mechanism.Modifier and Type | Method and Description |
---|---|
void |
postNotify(javax.swing.event.DocumentEvent event)
Post-notification after regular document listener notification is delivered.
|
void |
postNotify(java.beans.PropertyChangeEvent event)
Post-notification after regular compound edit listener notification is delivered.
|
void |
preNotify(javax.swing.event.DocumentEvent event)
Pre-notification before the regular document listener notification is delivered.
|
void |
preNotify(java.beans.PropertyChangeEvent event)
Pre-notification before the regular compound edit listener notification is delivered.
|
void preNotify(javax.swing.event.DocumentEvent event)
event
- the event describing the document changevoid postNotify(javax.swing.event.DocumentEvent event)
event
- the event describing the document changevoid preNotify(java.beans.PropertyChangeEvent event)
event
- the event describing the compoundEditInProgress property change.void postNotify(java.beans.PropertyChangeEvent event)
event
- the event describing the dcompoundEditInProgress property change.