APIdia Launch Partner
Top Description Methods
javax.swing.event

public Interface CaretListener

extends EventListener
Known Direct Implementers
javax.swing.text.StyledEditorKit.AttributeTracker, javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.html.HTMLEditorKit.NavigateLinkAction
Imports
java.util.EventListener

Listener for changes in the caret position of a text component.
Author
Timothy Prinzing

Method Summary

Modifier and TypeMethod and Description
public void
caretUpdate(CaretEvent
the caret event
e
)

Called when the caret position is updated.

Method Detail

caretUpdateback to summary
public void caretUpdate(CaretEvent e)

Called when the caret position is updated.

Parameters
e:CaretEvent

the caret event