JavaTM 2 Platform
Standard Edition

javax.swing.event
Interface CaretListener

All Known Implementing Classes:
JTextComponent.AccessibleJTextComponent

public interface CaretListener
extends EventListener

Listener for changes in the caret position of a text component.


Method Summary
 void caretUpdate(CaretEvent e)
          Called when the caret position is updated.
 

Method Detail

caretUpdate

public void caretUpdate(CaretEvent e)
Called when the caret position is updated.
Parameters:
e - the caret event

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.