软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.im |
提供输入法框架的类和接口。
|
Modifier and Type | Method and Description |
---|---|
InputContext |
Window.getInputContext()
获取此窗口的输入上下文。
|
InputContext |
Component.getInputContext()
获取此组件中使用的输入上下文,用于处理在该组件中输入的文本时与输入方法的通信的输入上下文。
|
Modifier and Type | Method and Description |
---|---|
static InputContext |
InputContext.getInstance()
返回一个新的inputcontext实例。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.