Uses of Interface
javax.swing.event.CaretListener
| Package | Description |
|---|---|
| com.sun.java.accessibility.util |
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
-
Uses of CaretListener in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with parameters of type CaretListener Modifier and Type Method Description static voidSwingEventMonitor. addCaretListener(CaretListener l)Adds the specified listener to receive allCARETevents on each component instance in the Java Virtual Machine as they occur.static voidSwingEventMonitor. removeCaretListener(CaretListener l)Removes the specified listener so it no longer receivesCARETevents when they occur. -
Uses of CaretListener in javax.swing
Classes in javax.swing that implement CaretListener Modifier and Type Class Description protected classJEditorPane.AccessibleJEditorPaneThis class implements accessibility support for theJEditorPaneclass.protected classJEditorPane.AccessibleJEditorPaneHTMLThis class provides support forAccessibleHypertext, and is used in instances where theEditorKitinstalled in thisJEditorPaneis an instance ofHTMLEditorKit.protected classJEditorPane.JEditorPaneAccessibleHypertextSupportWhat's returned byAccessibleJEditorPaneHTML.getAccessibleText.protected classJPasswordField.AccessibleJPasswordFieldThis class implements accessibility support for theJPasswordFieldclass.protected classJTextArea.AccessibleJTextAreaThis class implements accessibility support for theJTextAreaclass.protected classJTextField.AccessibleJTextFieldThis class implements accessibility support for theJTextFieldclass. -
Uses of CaretListener in javax.swing.text
Classes in javax.swing.text that implement CaretListener Modifier and Type Class Description classJTextComponent.AccessibleJTextComponentThis class implements accessibility support for theJTextComponentclass.Methods in javax.swing.text that return CaretListener Modifier and Type Method Description CaretListener[]JTextComponent. getCaretListeners()Returns an array of all the caret listeners registered on this text component.Methods in javax.swing.text with parameters of type CaretListener Modifier and Type Method Description voidJTextComponent. addCaretListener(CaretListener listener)Adds a caret listener for notification of any changes to the caret.voidJTextComponent. removeCaretListener(CaretListener listener)Removes a caret listener.