## Uses of Interface
java.awt.im.InputMethodRequests

- Packages that use InputMethodRequests
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

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

    Methods in java.awt that return InputMethodRequests
    Modifier and Type | Method | Description
    --- | --- | ---
    `InputMethodRequests` | TextComponent.`getInputMethodRequests()`
    `InputMethodRequests` | Component.`getInputMethodRequests()` Gets the input method request handler which supports requests from input methods for this component.

  - ### Uses of InputMethodRequests in java.awt.im.spi

    Subinterfaces of InputMethodRequests in java.awt.im.spi
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `InputMethodContext` Provides methods that input methods can use to communicate with their client components or to request other services.

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

    Methods in javax.swing.text that return InputMethodRequests
    Modifier and Type | Method | Description
    --- | --- | ---
    `InputMethodRequests` | JTextComponent.`getInputMethodRequests()`

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.