Extension SDK 10.1.2

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 inherited from class 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

public 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

Extension SDK

 

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