Readonly
altIs alt being pressed?
Readonly
ctrlIs control being pressed?
Readonly
deltaThe mode of the delta values; how the delta values should be interpreted. See PointerWheelMode
Readonly
deltaXWheel event horizontal scroll amount. Not an integer. The value's interpretation depends on PointerWheelEvent#deltaMode.
Readonly
deltaYWheel event vertical scroll amount. Not an integer. The value's interpretation depends on PointerWheelEvent#deltaMode.
Readonly
deltaZWheel event depth scroll amount. Not an integer. The value's interpretation depends on PointerWheelEvent#deltaMode.
Readonly
focusThe focus type of this event. Can be null.
If null, this event cannot be focused, since events are focused by their FocusType as a group.
Readonly
fromWas this wheel event created from a pointer drag?
Readonly
needsCan this event be dispatched without a target?
Readonly
propagationWhich event propagation model is this event type using?
Readonly
reversedIs this event dispatched in reverse-order?
Readonly
shiftIs shift being pressed?
Readonly
sourceThe source of this event. If null, this is an anonymous source, such as a virtual pointer. Not useful on its own, but is useful when passed along in feedback events; for example, in a feedback event that is dispatched whenever a button is hovered, the pointer event source could be used to provide haptic feedback, since the user knows which "real" pointer source each pointerID is mapped to.
Readonly
targetThe target of this event. Can be null
Readonly
typeThe type of this event instance. Compare this against the static
WidgetEvent."type" in the class or a known string value.
Comparing this value and doing an instanceof
check must be equivalent.
Readonly
userIs this event capturable by user event handlers?
Note that if the event does not propagate, capturing the event still has an effect; events are handled in the order for which the handlers were added, meaning that if a handler captures the event, the other handlers won't be called.
Readonly
xPointer event position's X coordinate in pixels. Not an integer.
Readonly
yPointer event position's Y coordinate in pixels. Not an integer.
Static
Readonly
PageThe amount of lines to remove from a page scroll
Static
Readonly
PageThe percentage of a page to remove from a page scroll
Static
Readonly
typeThe type of this event class. Each event type should be unique, and have a unique class.
Due to Typescript limitations, no compile error is thrown when this static field is not set at a sub-class. Despite this, the type must be set to a unique string value.
Create a new TricklingEvent with the same properties as this, except with a new given target.
Create a new PointerEvent event with the same properties as this, except with new PointerEvent#x and PointerEvent#y values corrected for a given offset.
Get the scroll delta in pixels, even if the PointerWheelEvent#deltaMode is not PointerWheelMode.Pixel.
Should the delta be limited by PointerWheelEvent.PageLinesError and PointerWheelEvent.PagePercentError, if PointerWheelEvent#deltaMode is not PointerWheelMode.Page?
The full height (line height with spacing) of a line, used for page PointerWheelEvent#deltaMode, or for limiting the delta
The width of the container, used for page PointerWheelEvent#deltaMode, or for limiting the delta
The height of the container, used for page PointerWheelEvent#deltaMode, or for limiting the delta
The depth of the container, used for page PointerWheelEvent#deltaMode, or for limiting the delta. Only used for custom containers/widgets with a Z-axis
Returns a 3-tuple containing the x, y and z components, repectively, of the wheel event in pixels.
Check if the type of this event instance matches the type of a given event class, asserting that the instance is of the class' type.
A pointer wheel PointerEvent.
Has a focus type of FocusType.Pointer and does not need focus.