android.view
Class GestureDetector.SimpleOnGestureListener

java.lang.Object
  extended by android.view.GestureDetector.SimpleOnGestureListener
All Implemented Interfaces:
GestureDetector.OnDoubleTapListener, GestureDetector.OnGestureListener
Enclosing class:
GestureDetector

public static class GestureDetector.SimpleOnGestureListener
extends Object
implements GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener


Constructor Summary
GestureDetector.SimpleOnGestureListener()
           
 
Method Summary
 boolean onDoubleTap(MotionEvent e)
           
 boolean onDoubleTapEvent(MotionEvent e)
           
 boolean onDown(MotionEvent e)
           
 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
           
 void onLongPress(MotionEvent e)
           
 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
           
 void onShowPress(MotionEvent e)
           
 boolean onSingleTapConfirmed(MotionEvent e)
           
 boolean onSingleTapUp(MotionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GestureDetector.SimpleOnGestureListener

public GestureDetector.SimpleOnGestureListener()
Method Detail

onSingleTapUp

public boolean onSingleTapUp(MotionEvent e)
Specified by:
onSingleTapUp in interface GestureDetector.OnGestureListener

onLongPress

public void onLongPress(MotionEvent e)
Specified by:
onLongPress in interface GestureDetector.OnGestureListener

onScroll

public boolean onScroll(MotionEvent e1,
                        MotionEvent e2,
                        float distanceX,
                        float distanceY)
Specified by:
onScroll in interface GestureDetector.OnGestureListener

onFling

public boolean onFling(MotionEvent e1,
                       MotionEvent e2,
                       float velocityX,
                       float velocityY)
Specified by:
onFling in interface GestureDetector.OnGestureListener

onShowPress

public void onShowPress(MotionEvent e)
Specified by:
onShowPress in interface GestureDetector.OnGestureListener

onDown

public boolean onDown(MotionEvent e)
Specified by:
onDown in interface GestureDetector.OnGestureListener

onDoubleTap

public boolean onDoubleTap(MotionEvent e)
Specified by:
onDoubleTap in interface GestureDetector.OnDoubleTapListener

onDoubleTapEvent

public boolean onDoubleTapEvent(MotionEvent e)
Specified by:
onDoubleTapEvent in interface GestureDetector.OnDoubleTapListener

onSingleTapConfirmed

public boolean onSingleTapConfirmed(MotionEvent e)
Specified by:
onSingleTapConfirmed in interface GestureDetector.OnDoubleTapListener


Copyright © 2008-2010. All Rights Reserved.