Java™ Platform
Standard Ed. 6

Uses of Class

Packages that use CaretEvent
javax.swing.event Provides for events fired by Swing components. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 

Uses of CaretEvent in javax.swing.event

Methods in javax.swing.event with parameters of type CaretEvent
 void CaretListener.caretUpdate(CaretEvent e)
          Called when the caret position is updated.

Uses of CaretEvent in javax.swing.text

Methods in javax.swing.text with parameters of type CaretEvent
 void JTextComponent.AccessibleJTextComponent.caretUpdate(CaretEvent e)
          Handles caret updates (fire appropriate property change event, which are AccessibleContext.ACCESSIBLE_CARET_PROPERTY and AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY).
protected  void JTextComponent.fireCaretUpdate(CaretEvent e)
          Notifies all listeners that have registered interest for notification on this event type.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.