public static interface Text.EditorActionListener
The corresponding component will respond to and process the change event of the editor action, such as searching or switching.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onTextEditorAction(int action) |
Called when change events of the specified editor action are processed.
|
boolean onTextEditorAction(int action)
action - Indicates the editor action. For example, InputAttribute#ENTER_KEY_TYPE_GO indicates
a "go" action, and InputAttribute#ENTER_KEY_TYPE_SEND
indicates a "send" action. For details, see InputAttribute.true if the event is processed; returns false otherwise.InputAttribute.inputEnterKeyType