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