public interface TouchEvent
Support for touch events from UI component.
NOTE: When also subscribing toInputEvent
, the ordering of events is not guaranteed.Modifier and Type | Interface and Description |
---|---|
static class |
TouchEvent.EventType
ON_PRESSED - an event of this type is issued on mouse/touchscreen pressed.
|
Modifier and Type | Method and Description |
---|---|
HTMLComponent |
getComponent() |
TouchEvent.EventType |
getEventType() |
int |
getRelativePosX() |
int |
getRelativePosY() |
TouchEvent.EventType getEventType()
int getRelativePosX()
int getRelativePosY()
HTMLComponent getComponent()
Copyright © 2021. All rights reserved.