org.utgenome.gwt.ipad.event
Class Touch

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.utgenome.gwt.ipad.event.Touch

public class Touch
extends com.google.gwt.core.client.JavaScriptObject

Simple access to Touch objects.

Author:
amoffat Alex Moffat

Constructor Summary
protected Touch()
           
 
Method Summary
 int getClientX()
           
 int getClientY()
           
 int getRelativeX(com.google.gwt.dom.client.Element target)
           
 int getRelativeY(com.google.gwt.dom.client.Element target)
           
 Long identifier()
           
 int pageX()
           
 int pageY()
           
 int screenX()
           
 int screenY()
           
 com.google.gwt.core.client.JavaScriptObject target()
           
 
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

Touch

protected Touch()
Method Detail

getRelativeX

public final int getRelativeX(com.google.gwt.dom.client.Element target)

getRelativeY

public final int getRelativeY(com.google.gwt.dom.client.Element target)

getClientX

public final int getClientX()

getClientY

public final int getClientY()

identifier

public final Long identifier()

pageX

public final int pageX()

pageY

public final int pageY()

screenX

public final int screenX()

screenY

public final int screenY()

target

public final com.google.gwt.core.client.JavaScriptObject target()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.