Home » openjdk-7 » javax » swing » text » [javadoc | source]
class: StyledEditorKit.AttributeTracker [javadoc | source]

All Implemented Interfaces:
    CaretListener, java$io$Serializable, PropertyChangeListener

Tracks caret movement and keeps the input attributes set to reflect the current set of attribute definitions at the caret position.

This implements PropertyChangeListener to update the input attributes when the Document changes, as if the Document changes the attributes will almost certainly change.
Method from javax.swing.text.StyledEditorKit$AttributeTracker Summary:
caretUpdate,   propertyChange,   updateInputAttributes
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.StyledEditorKit$AttributeTracker Detail:
 public  void caretUpdate(CaretEvent e) 
 public  void propertyChange(PropertyChangeEvent evt) 
  void updateInputAttributes(int dot,
    int mark,
    JTextComponent c) 
    Updates the attributes. dot and mark mark give the positions of the selection in c.