KeyInputEvent
-
class
Event.KeyInputEvent()
Accessors
Methods
-
Event.KeyInputEvent.getDate() inherited
getDate(): DateGets the Date this event occurred
Returns: Date
the event Date
-
Event.KeyInputEvent.getEventType() - getEventType():
KeyInputTypegets the event type
Returns:
KeyInputTypethe type of key event
-
Event.KeyInputEvent.getHandled() inherited
getHandled(): booleanGets the handled state of the event
Returns: boolean
whether the event has been handled
-
Event.KeyInputEvent.getKeyCode() - getKeyCode(): number
gets the key code
Returns: number
the key code of the event
-
Event.KeyInputEvent.setHandled() inherited
setHandled(handled: boolean): voidSets the handled state of the event. When an event has been handled it will not propagate any further
Parameters
handled: boolean
Indicates whether this event has been handled.Returns: void