Home » openjdk-7 » javax » swing » text » [javadoc | source]
abstract static class: DefaultStyledDocument.AbstractChangeHandler [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    StyleChangeHandler, StyleContextChangeHandler

Base class for style change handlers with support for stale objects detection.
 AbstractChangeHandler(DefaultStyledDocument d) 
Method from javax.swing.text.DefaultStyledDocument$AbstractChangeHandler Summary:
fireStateChanged,   getStaleListeners,   stateChanged
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.DefaultStyledDocument$AbstractChangeHandler Detail:
 abstract  void fireStateChanged(DefaultStyledDocument d,
    ChangeEvent e)
    Run the actual class-specific stateChanged() method.
 static List<ChangeListener> getStaleListeners(ChangeListener l) 
    Return a list of stale change listeners. A change listener becomes "stale" when its document is cleaned by GC.
 public  void stateChanged(ChangeEvent e) 
    The ChangeListener wrapper which guards against dead documents.