Interface CaretListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
JEditorPane.AccessibleJEditorPane,JEditorPane.AccessibleJEditorPaneHTML,JEditorPane.JEditorPaneAccessibleHypertextSupport,JPasswordField.AccessibleJPasswordField,JTextArea.AccessibleJTextArea,JTextComponent.AccessibleJTextComponent,JTextField.AccessibleJTextField
Listener for changes in the caret position of a text
component.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the caret position is updated.
-
Method Details
-
caretUpdate
Called when the caret position is updated.- Parameters:
e- the caret event
-