- 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
TextComponentorJTextComponentshould 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, orInputMethodEventevents will immediately follow. They will insert new text in place of the old text pointed to by this event's range.- Parameters:
event- theTextInput.SelectTextRangeEventobject
-