Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
CaretListener.caretUpdate(CaretEvent e)
Called when the caret position is updated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.