To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

KeyboardEventInfo

Java. KeyboardEventInfo

new KeyboardEventInfo(propBagopt)

A Java technology Keyboard event info to be used by fireEvent methods.
Parameters:
Name Type Attributes Description
propBag Object <optional>
The arguments for the event info.
Properties
Name Type Attributes Description
eventId Java.KeyboardEvent The event ID.
when Number The time the event occurred.
modifiers Number The modifier keys down during event.
keyCode Number The physical key pressed, independent of the character created.
Remarks: For example, the A Key is returned whether the character produced is "A" or "a".
keyChar char The Unicode character generated by this event.
keyLocation Number <optional>
The location of the key that originated this key event.