Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.editor
Interface BasicDocument.PrePostDocumentListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AbstractCodeFoldingPlugin.DocumentHandler
Enclosing class:
BasicDocument

public static interface BasicDocument.PrePostDocumentListener
extends java.util.EventListener

The 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.


Method Summary
 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.

 

Method Detail

preNotify

void preNotify(javax.swing.event.DocumentEvent event)
Pre-notification before the regular document listener notification is delivered.
Parameters:
event - the event describing the document change

postNotify

void postNotify(javax.swing.event.DocumentEvent event)
Post-notification after regular document listener notification is delivered.
Parameters:
event - the event describing the document change

preNotify

void preNotify(java.beans.PropertyChangeEvent event)
Pre-notification before the regular compound edit listener notification is delivered.
Parameters:
event - the event describing the compoundEditInProgress property change.

postNotify

void postNotify(java.beans.PropertyChangeEvent event)
Post-notification after regular compound edit listener notification is delivered.
Parameters:
event - the event describing the dcompoundEditInProgress property change.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.