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
JFXPanel
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the committed textthe index of the first character begin, int the index of the character following the last character end)Gets the entire text contained in the text editing node except the uncommitted text. |
| public int | Returns: length of the text except the uncommitted textGets the length of the entire text contained in the text editing node except the uncommitted text. |
| public int | Returns: the offset of the insert positionReturns the offset of the insert position in the committed text contained in the text editing node. |
| getCommittedText | back to summary |
|---|---|
| public String getCommittedText(int begin, int end) Gets the entire text contained in the text editing node except the uncommitted text. The uncommitted text is ignored for index calculations.
| |
| getCommittedTextLength | back to summary |
|---|---|
| public int getCommittedTextLength() Gets the length of the entire text contained in the text editing node except the uncommitted text.
| |
| getInsertPositionOffset | back to summary |
|---|---|
| public int getInsertPositionOffset() Returns the offset of the insert position in the committed text contained in the text editing node.
| |