JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

An event which indicates that the underlying input method notifies its text change in a Node.

This event is delivered to the Node object that extends TextInput, when the text under composition (composed text) is generated/changed/removed, the input method commits the result text, or the input method caret position changes.

On receiving this event, the application is supposed to display the composed text with any visual feedback attributes to the user.

Profile: common conditional inputmethod

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-readcaretPositionInteger0

The input method caret position within the composed text.

The input method caret position within the composed text. If the position is -1, the caret should be invisible.

0

Profile: common conditional inputmethod

 
public-readcommittedStringempty string

The text that is committed by the input method as the result of the composition.

public-readcomposedInputMethodTextRun[]null

The text under composition.

The text under composition. This text should be displayed with the appropriate visual feedback that represents the InputMethodHighlights attached to each run.

null

Profile: common conditional inputmethod

 
public-initnodeNode

The Node on which this event has occurred.

Inherited Variables

Script Function Summary

public impl_copy(node: Node, evt: InputMethodEvent) : InputMethodEvent
Parameters
node
evt
Returns
InputMethodEvent
 
public impl_inputMethodEvent(node: Node, composed: InputMethodTextRun[], committed: java.lang.String, caretPosition: Integer) : InputMethodEvent
Parameters
node
composed
committed
caretPosition
Returns
InputMethodEvent
 

Function Summary

public toString() : java.lang.String
Returns
String
 

Inherited Functions