Package eu.webtoolkit.jwt
Class Touch
java.lang.Object
eu.webtoolkit.jwt.Touch
A single finger touch of a touch event.
- See Also:
-
Constructor Summary
ConstructorDescriptionTouch
(long identifier, int clientX, int clientY, int documentX, int documentY, int screenX, int screenY, int widgetX, int widgetY) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the touch position relative to the document.long
Returns the identifier for this touch.Returns the touch position relative to the screen.Returns the touch position relative to the widget.Returns the touch position relative to the window.
-
Constructor Details
-
Touch
public Touch(long identifier, int clientX, int clientY, int documentX, int documentY, int screenX, int screenY, int widgetX, int widgetY) Constructor.
-
-
Method Details
-
getDocument
Returns the touch position relative to the document. -
getWindow
Returns the touch position relative to the window.This differs from
getDocument()
only when scrolling through the document. -
getScreen
Returns the touch position relative to the screen. -
getWidget
Returns the touch position relative to the widget. -
getIdentifier
public long getIdentifier()Returns the identifier for this touch.
-