Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
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.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Method and Description |
---|---|
void |
AWTEventMulticaster.caretPositionChanged(InputMethodEvent e)
Handles the caretPositionChanged event by invoking the
caretPositionChanged methods on listener-a and listener-b.
|
void |
AWTEventMulticaster.inputMethodTextChanged(InputMethodEvent e)
Handles the inputMethodTextChanged event by invoking the
inputMethodTextChanged methods on listener-a and listener-b.
|
protected void |
Component.processInputMethodEvent(InputMethodEvent e)
Processes input method events occurring on this component by
dispatching them to any registered
InputMethodListener objects. |
Modifier and Type | Method and Description |
---|---|
void |
InputMethodListener.caretPositionChanged(InputMethodEvent event)
Invoked when the caret within composed text has changed.
|
void |
InputMethodListener.inputMethodTextChanged(InputMethodEvent event)
Invoked when the text entered through an input method has changed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JFormattedTextField.processInputMethodEvent(InputMethodEvent e)
Processes any input method events, such as
InputMethodEvent.INPUT_METHOD_TEXT_CHANGED or
InputMethodEvent.CARET_POSITION_CHANGED . |
Modifier and Type | Method and Description |
---|---|
protected void |
LayerUI.processInputMethodEvent(InputMethodEvent e,
JLayer<? extends V> l)
Processes input event occurring on the
JLayer
or any of its subcomponents. |
Modifier and Type | Method and Description |
---|---|
protected void |
JTextComponent.processInputMethodEvent(InputMethodEvent e) |
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.