Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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 preNotify(javax.swing.event.DocumentEvent event)
          Pre-notification before the regular document 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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