TouchInputEvent

class Event.TouchInputEvent()

Accessors

Event.TouchInputEvent.viewKey()

inherited

get viewKey(): ViewKey

Get the ViewKey this event is associated with.

Returns: ViewKey

Methods

Event.TouchInputEvent.getButtons()
getButtons(): Buttons

gets the mouse buttons currently pressed with this event

Returns: Buttons

the mouse buttons currently pressed for this event
Event.TouchInputEvent.getDate()

inherited

getDate(): Date

Gets the Date this event occurred

Returns: Date

the event Date
Event.TouchInputEvent.getEventType()
getEventType(): TouchInputType

gets the event type

Returns: TouchInputType

the type of touch event
Event.TouchInputEvent.getHandled()

inherited

getHandled(): boolean

Gets the handled state of the event

Returns: boolean

whether the event has been handled
Event.TouchInputEvent.getId()
getId(): number

gets the id this event

Returns: number

the unique identifier for this touch
Event.TouchInputEvent.getPosition()
getPosition(): Point2

gets the window position of the mouse pointer for this event

Returns: Point2

the mouse position for this event
Event.TouchInputEvent.setHandled()

inherited

setHandled(handled: boolean): void

Sets 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