JavaTM 2 Platform Std. Ed. v1.5.0
javax.swing.event
Interface CaretListener
- All Superinterfaces:
- EventListener
- All Known Implementing Classes:
- JEditorPane.AccessibleJEditorPane, JEditorPane.AccessibleJEditorPaneHTML, JEditorPane.JEditorPaneAccessibleHypertextSupport, JPasswordField.AccessibleJPasswordField, JTextArea.AccessibleJTextArea, JTextComponent.AccessibleJTextComponent, JTextField.AccessibleJTextField
public interface CaretListener - extends EventListener
Listener for changes in the caret position of a text
component.
caretUpdate
void caretUpdate(CaretEvent e)
- Called when the caret position is updated.
- Parameters:
e - the caret event
Copyright 2003 Sun Microsystems, Inc. All rights reserved
|