public interface InputMethodListener extends EventListener
文本编辑组件还必须提供一个InputMethodRequests的实例。
InputMethodEvent
, InputMethodRequests
Modifier and Type | Method and Description |
---|---|
void |
caretPositionChanged(InputMethodEvent event)
当合成文本内的插入符已更改时调用。
|
void |
inputMethodTextChanged(InputMethodEvent event)
当通过输入法输入的文本已更改时调用。
|
void inputMethodTextChanged(InputMethodEvent event)
void caretPositionChanged(InputMethodEvent event)
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.