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 BasicDocumentEvent

All Superinterfaces:
javax.swing.event.DocumentEvent

public interface BasicDocumentEvent
extends javax.swing.event.DocumentEvent

The BasicDocumentEvent just supplements the existing Swing DocumentEvent class with extra information that is used for damage calculation purposes. Specifically, it is not possible to optimize damage calculations and repainting when a remove() occurs unless you know what was removed.

See Also:
DocumentEvent

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.swing.event.DocumentEvent
javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent.EventType
 
Method Summary
 char[] getData()
          Fetches the data which was changed (i.e., either the data which was inserted, or the data which was removed.)
 
Methods inherited from interface javax.swing.event.DocumentEvent
getChange, getDocument, getLength, getOffset, getType
 

Method Detail

getData

char[] getData()
Fetches the data which was changed (i.e., either the data which was inserted, or the data which was removed.)

Returns:
the data inserted or removed

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.