public interface ExtendedInputMethodRequests extends InputMethodRequests
InputMethodRequests
interface
to provide more requests that a text editing node could handle.
The text editing node is not required to implement an extended interface,
but it could implement it to support input methods when embedded into the
JFXPanelModifier and Type | Method and Description |
---|---|
java.lang.String |
getCommittedText(int begin,
int end)
Gets the entire text contained in the text editing node except the uncommitted
text.
|
int |
getCommittedTextLength()
Gets the length of the entire text contained in the text editing node except
the uncommitted text.
|
int |
getInsertPositionOffset()
Returns the offset of the insert position in the committed text contained
in the text editing node.
|
cancelLatestCommittedText, getLocationOffset, getSelectedText, getTextLocation
int getInsertPositionOffset()
java.lang.String getCommittedText(int begin, int end)
begin
- the index of the first characterend
- the index of the character following the last characterint getCommittedTextLength()