javax.swing.text
Class DefaultStyledDocument.StyleChangeHandler
java.lang.Object
javax.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStyledDocument.StyleChangeHandler
DefaultStyledDocument.StyleChangeHandler()
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