InputEvent
- class Event.InputEvent()
Constructors
Accessors
viewKey
Methods
Constructors
- InputEvent.constructor(viewKey)
- Arguments
viewKey (
ViewKey()
) – key for the View the event is occurring in
- Return type
InputEvent
Accessors
- Event.viewKey()
Get the ViewKey this event is associated with.
- Return type
ViewKey
Methods
getDate
- InputEvent.getDate()
Gets the Date this event occurred
- Returns
the event Date
- Return type
Date
getHandled
- InputEvent.getHandled()
Gets the handled state of the event
- Returns
whether the event has been handled
- Return type
boolean
setHandled
- InputEvent.setHandled(handled)
- Arguments
handled (
boolean()
) – Indicates whether this event has been handled.
Sets the handled state of the event. When an event has been handled it will not propagate any further
- Return type
void