javax.swing.text
Class DefaultStyledDocument.StyleContextChangeHandler

java.lang.Object
  extended byjavax.swing.text.DefaultStyledDocument.StyleContextChangeHandler
All Implemented Interfaces:
ChangeListener, EventListener
Enclosing class:
DefaultStyledDocument

class DefaultStyledDocument.StyleContextChangeHandler
extends Object
implements ChangeListener

Added to the StyleContext. When the StyleContext changes, this invokes updateStylesListeningTo.


Constructor Summary
(package private) DefaultStyledDocument.StyleContextChangeHandler()
           
 
Method Summary
 void stateChanged(ChangeEvent e)
          Invoked when the target of the listener has changed its state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStyledDocument.StyleContextChangeHandler

DefaultStyledDocument.StyleContextChangeHandler()
Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
Description copied from interface: ChangeListener
Invoked when the target of the listener has changed its state.

Specified by:
stateChanged in interface ChangeListener
Parameters:
e - a ChangeEvent object