Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.awt.swing.event.DocumentListener

Implementing Classes:
JTextComponent.AccessibleJTextComponent

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


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

Method Detail

insertUpdate

public 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

removeUpdate

public 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

changedUpdate

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

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.