javax.swing.text
Class DefaultStyledDocument.StyleChangeHandler

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

class DefaultStyledDocument.StyleChangeHandler
extends Object
implements ChangeListener

Added to all the Styles. When instances of this receive a stateChanged method, styleChanged is invoked.


Constructor Summary
(package private) DefaultStyledDocument.StyleChangeHandler()
           
 
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.StyleChangeHandler

DefaultStyledDocument.StyleChangeHandler()
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