-
public interface TextSelectionCallbackCallback interface for text selection events.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSelectionStarted()Called when text selection starts. abstract UnitonSelectionChanged(TextSelection selection)Called when selection changes (user is dragging). abstract UnitonSelectionComplete(TextSelection selection)Called when selection is complete (user lifted finger). abstract UnitonSelectionCleared()Called when selection is cleared. -
-
Method Detail
-
onSelectionStarted
abstract Unit onSelectionStarted()
Called when text selection starts.
-
onSelectionChanged
abstract Unit onSelectionChanged(TextSelection selection)
Called when selection changes (user is dragging).
- Parameters:
selection- Current selection state
-
onSelectionComplete
abstract Unit onSelectionComplete(TextSelection selection)
Called when selection is complete (user lifted finger).
- Parameters:
selection- Final selection
-
onSelectionCleared
abstract Unit onSelectionCleared()
Called when selection is cleared.
-
-
-
-