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.