|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.maryanovsky.gwtutils.client.iphone.ui.touch.Touch
public class Touch
Represents a single finger touching the screen.
| Constructor Summary | |
|---|---|
protected |
Touch()
Javascript overlay class. |
| Method Summary | |
|---|---|
int |
getClientX()
Returns the X coordinate of the touch relative to the window's viewport. |
int |
getClientY()
Returns the Y coordinate of the touch relative to the window's viewport. |
int |
getPageX()
Returns the X coordinate of the touch in page coordinates. |
int |
getPageY()
Returns the Y coordinate of the touch in page coordinates. |
int |
getScreenX()
Returns the X coordinate of the touch in screen coordinates. |
int |
getScreenY()
Returns the Y coordinate of the touch in screen coordinates. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Touch()
| Method Detail |
|---|
public final int getClientX()
public final int getClientY()
public final int getPageX()
public final int getPageY()
public final int getScreenX()
public final int getScreenY()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||