org.xnap.gui.component
Class DocumentAdapter

java.lang.Object
  extended by org.xnap.gui.component.DocumentAdapter
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.DocumentListener

public abstract class DocumentAdapter
extends java.lang.Object
implements javax.swing.event.DocumentListener

An abstract adapter class for receiving document events. The methods in this class are empty. This class exists as convenience for creating listener objects.


Constructor Summary
DocumentAdapter()
           
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
          Invoked when a portion of the document has been removed.
 void insertUpdate(javax.swing.event.DocumentEvent e)
          Invoked when an attribute or set of attributes changed.
 void removeUpdate(javax.swing.event.DocumentEvent e)
          Invoked when there was an insert into the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentAdapter

public DocumentAdapter()
Method Detail

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Invoked when an attribute or set of attributes changed.

Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Invoked when there was an insert into the document.

Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Invoked when a portion of the document has been removed.

Specified by:
changedUpdate in interface javax.swing.event.DocumentListener


Copyright © 2001-2005 XNap Team. All Rights Reserved.