com.xtremelabs.robolectric.shadows
Class ShadowMotionEvent

java.lang.Object
  extended by com.xtremelabs.robolectric.shadows.ShadowMotionEvent

@Implements(value=android.view.MotionEvent.class)
public class ShadowMotionEvent
extends java.lang.Object


Constructor Summary
ShadowMotionEvent()
           
 
Method Summary
 int getAction()
           
 float getX()
           
 float getY()
           
static android.view.MotionEvent obtain(long downTime, long eventTime, int action, float x, float y, int metaState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowMotionEvent

public ShadowMotionEvent()
Method Detail

obtain

@Implementation
public static android.view.MotionEvent obtain(long downTime,
                                                             long eventTime,
                                                             int action,
                                                             float x,
                                                             float y,
                                                             int metaState)

getAction

@Implementation
public int getAction()

getX

@Implementation
public final float getX()

getY

@Implementation
public final float getY()