Class KeyEventAbstract

A keyboard ModifierEvent. This is an abstract class and is implemented in the child classes KeyPress and KeyRelease.

Has a focus type of Keyboard and needs focus.

Hierarchy

Constructors

Properties

alt: boolean

Is alt being pressed?

ctrl: boolean

Is control being pressed?

focusType: null | FocusType

The 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.

key: string

This event's key. Uses the same values as the KeyboardEvent.key Web API.

needsFocus: boolean

Can this event be dispatched without a target?

reversed: boolean

Is this event dispatched in reverse-order?

shift: boolean

Is shift being pressed?

target: null | Widget

The target of this event. Can be null

Methods

Generated using TypeDoc