All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.swing.event.DocumentListener

public interface DocumentListener
extends EventListener
Interface for an observer to register to receive notifications of changes to a text document.


Method Index

 o changedUpdate(DocumentEvent)
Gives notification that an attribute or set of attributes changed.
 o insertUpdate(DocumentEvent)
Gives notification that there was an insert into the document.
 o removeUpdate(DocumentEvent)
Gives notification that a portion of the document has been removed.

Methods

 o insertUpdate
 public abstract void insertUpdate(DocumentEvent e)
Gives notification that there was an insert into the document. The given range bounds the freshly inserted region.

Parameters:
e - the document event
 o removeUpdate
 public abstract void removeUpdate(DocumentEvent e)
Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).

Parameters:
e - the document event
 o changedUpdate
 public abstract void changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed.

Parameters:
e - the document event

All Packages  Class Hierarchy  This Package  Previous  Next  Index