javax.swing.text.html
Class AccessibleHTML.DocumentHandler

java.lang.Object
  extended byjavax.swing.text.html.AccessibleHTML.DocumentHandler
All Implemented Interfaces:
DocumentListener, EventListener
Enclosing class:
AccessibleHTML

private class AccessibleHTML.DocumentHandler
extends Object
implements DocumentListener

DocumentListener installed on the current Document. Will invoke update on the RootInfo in response to any event.


Constructor Summary
private AccessibleHTML.DocumentHandler()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessibleHTML.DocumentHandler

private AccessibleHTML.DocumentHandler()
Method Detail

insertUpdate

public void insertUpdate(DocumentEvent e)
Description copied from interface: DocumentListener
Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.

Specified by:
insertUpdate in interface DocumentListener
Parameters:
e - the document event

removeUpdate

public void removeUpdate(DocumentEvent e)
Description copied from interface: DocumentListener
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).

Specified by:
removeUpdate in interface DocumentListener
Parameters:
e - the document event

changedUpdate

public void changedUpdate(DocumentEvent e)
Description copied from interface: DocumentListener
Gives notification that an attribute or set of attributes changed.

Specified by:
changedUpdate in interface DocumentListener
Parameters:
e - the document event