软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
void |
AWTEventMulticaster.caretPositionChanged(InputMethodEvent e)
处理caretpositionchanged事件通过调用caretpositionchanged方法对listener-a和listener-b.
|
void |
AWTEventMulticaster.inputMethodTextChanged(InputMethodEvent e)
处理inputmethodtextchanged事件通过调用inputmethodtextchanged方法对listener-a和listener-b.
|
protected void |
Component.processInputMethodEvent(InputMethodEvent e)
过程输入法事件发生在这个组件分派他们到任何注册
InputMethodListener 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
InputMethodListener.caretPositionChanged(InputMethodEvent event)
当调用在正文插入改变了。
|
void |
InputMethodListener.inputMethodTextChanged(InputMethodEvent event)
当通过输入方法输入的文本已更改时调用。
|
Modifier and Type | Method and Description |
---|---|
protected void |
JFormattedTextField.processInputMethodEvent(InputMethodEvent e)
处理任何输入法事件,如
InputMethodEvent.INPUT_METHOD_TEXT_CHANGED 或
InputMethodEvent.CARET_POSITION_CHANGED 。
|
Modifier and Type | Method and Description |
---|---|
protected void |
LayerUI.processInputMethodEvent(InputMethodEvent e, JLayer<? extends V> l)
处理输入事件在
JLayer 或其任何部分发生。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.