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.

MouseEventInfo

Java. MouseEventInfo

new MouseEventInfo(propBagopt)

A Java technology Mouse 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.MouseEvent The event ID.
when Number The time the event occurred. Passing negative or zero value is not recommended
modifiers Number The modifier keys down during event.
x Number The horizontal x-coordinate in pixels relative to the containing object.
y Number The vertical y-coordinate in pixels relative to the containing object.
xAbs Number <optional>
The absolute horizontal x-coordinate in pixels relative to the screen. This value is ignored if button is not set.
yAbs Number <optional>
The absolute vertical y-coordinate in pixels relative to the screen. This value is ignored if button is not set.
clickCount Number The number of mouse clicks associated with event.
popupTrigger bool Indicates whether this event is a trigger for a popup menu.
button Number <optional>
Indicates which of the mouse buttons has changed state.