- Enclosing interface:
TextInput
Event listener interface for all events supported by this API.
-
Method Summary
-
Method Details
-
handleSelectTextRangeEvent
Handles theTextInput.SelectTextRangeEvent
.Custom text components that do not extend
TextComponent
orJTextComponent
should subscribe to this event. When receiving it, they should select the text range of UTF-16 code units starting at index of length .It is expected, that
KeyEvent.KEY_TYPED
, orInputMethodEvent
events will immediately follow. They will insert new text in place of the old text pointed to by this event's range.- Parameters:
event
- theTextInput.SelectTextRangeEvent
object
-