| 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
Called when the caret position is updated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JTextComponent.AccessibleJTextComponent.caretUpdate(CaretEvent
Handles caret updates (fire appropriate property change event, which are AccessibleContext.ACCESSIBLE_CARET_PROPERTY and AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY).
|
protected void |
JTextComponent.fireCaretUpdate(CaretEvent
Notifies all listeners that have registered interest for notification on this event type.
|