Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
Modifier and Type | Method and Description |
---|---|
static InputMethodListener |
AWTEventMulticaster.add(InputMethodListener a,
InputMethodListener b)
Adds input-method-listener-a with input-method-listener-b and
returns the resulting multicast listener.
|
InputMethodListener[] |
Component.getInputMethodListeners()
Returns an array of all the input method listeners
registered on this component.
|
static InputMethodListener |
AWTEventMulticaster.remove(InputMethodListener l,
InputMethodListener oldl)
Removes the old input-method-listener from input-method-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static InputMethodListener |
AWTEventMulticaster.add(InputMethodListener a,
InputMethodListener b)
Adds input-method-listener-a with input-method-listener-b and
returns the resulting multicast listener.
|
void |
Component.addInputMethodListener(InputMethodListener l)
Adds the specified input method listener to receive
input method events from this component.
|
static InputMethodListener |
AWTEventMulticaster.remove(InputMethodListener l,
InputMethodListener oldl)
Removes the old input-method-listener from input-method-listener-l and
returns the resulting multicast listener.
|
void |
Component.removeInputMethodListener(InputMethodListener l)
Removes the specified input method listener so that it no longer
receives input method events from this component.
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.addInputMethodListener(InputMethodListener l) |
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.