-
public interface TextActions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumTextActions.ComposeTextActionType
-
Method Summary
Modifier and Type Method Description UnitperformTextClearance()Clears the text in this node in similar way to IME. UnitperformTextInput(String text)Sends the given text to this node in similar way to IME. UnitperformTextInputSelection(TextRange selection)Sends the given selection to this node in similar way to IME. UnitperformTextReplacement(String text)Replaces existing text with the given text in this node in similar way to IME. UnitperformImeAction()Sends to this node the IME action associated with it in similar way to IME. abstract ComposeDelegategetDelegate()-
-
Method Detail
-
performTextClearance
Unit performTextClearance()
Clears the text in this node in similar way to IME.
-
performTextInput
Unit performTextInput(String text)
Sends the given text to this node in similar way to IME.
- Parameters:
text- Text to send.
-
performTextInputSelection
Unit performTextInputSelection(TextRange selection)
Sends the given selection to this node in similar way to IME.
- Parameters:
selection- selection to send
-
performTextReplacement
Unit performTextReplacement(String text)
Replaces existing text with the given text in this node in similar way to IME.
This does not reflect text selection. All the text gets cleared out and new inserted.
- Parameters:
text- Text to send.
-
performImeAction
Unit performImeAction()
Sends to this node the IME action associated with it in similar way to IME.
The node needs to define its IME action in semantics.
-
getDelegate
abstract ComposeDelegate getDelegate()
-
-
-
-