org.apache.pivot.wtk
Interface TextInputSelectionListener
- All Known Implementing Classes:
- TerraTextInputSkin
public interface TextInputSelectionListener
Text input selection listener interface.
Method Summary |
void |
selectionChanged(TextInput textInput,
int previousSelectionStart,
int previousSelectionLength)
Called when a text input's selection state has changed. |
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.