Uses of Interface java.awt.event.InputMethodListener (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Interface
java.awt.event.InputMethodListener

- Packages that use InputMethodListener
  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.

- - ### Uses of InputMethodListener in java.awt

    Classes in java.awt that implement InputMethodListener
    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.

    Methods in java.awt that return InputMethodListener
    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.

    Methods in java.awt with parameters of type InputMethodListener
    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.

  - ### Uses of InputMethodListener in javax.swing.text

    Methods in javax.swing.text with parameters of type InputMethodListener
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.