- /*
- * @(#)CaretListener.java 1.6 00/02/02
- *
- * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * Use is subject to license terms.
- *
- */
- package javax.swing.event;
-
-
- import java.util.EventListener;
-
- /**
- * Listener for changes in the caret position of a text
- * component.
- *
- * @version 1.6 02/02/00
- * @author Timothy Prinzing
- */
- public interface CaretListener extends EventListener {
-
- /**
- * Called when the caret position is updated.
- *
- * @param e the caret event
- */
- void caretUpdate(CaretEvent e);
- }
-