Package org.apache.pivot.wtk
Interface TextInputSelectionListener
-
- All Known Implementing Classes:
TerraTextInputSkin
,TextInputSelectionListener.Listeners
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TextInputSelectionListener
Text input selection listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextInputSelectionListener.Listeners
Text input selection listener listeners list.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
selectionChanged(TextInput textInput, int previousSelectionStart, int previousSelectionLength)
Called when a text input's selection state has changed.
-
-
-
Method Detail
-
selectionChanged
void selectionChanged(TextInput textInput, int previousSelectionStart, int previousSelectionLength)
Called when a text input's selection state has changed.- Parameters:
textInput
- The source of the event.previousSelectionStart
- If the selection changed directly, the previous selection start index. Otherwise, the current selection start index.previousSelectionLength
- If the selection changed directly, the previous selection length. Otherwise, the current selection length.
-
-