com.stringsandints.inventium.khlrooster.gestionListeners
Class UpFlingGestion

java.lang.Object
  extended by com.stringsandints.inventium.khlrooster.gestionListeners.AbstractGestionListener
      extended by com.stringsandints.inventium.khlrooster.gestionListeners.UpFlingGestion

public class UpFlingGestion
extends AbstractGestionListener

An implementation of the abstractGestionListener. This GestionListener will listen to a fling from down to up. If the gestion is detected, the gestionAction will be invoked.

Author:
mathias

Field Summary
private static int SWIPE_MIN_DISTANCE
           
 
Constructor Summary
UpFlingGestion(GestionAction ga)
           
 
Method Summary
 void gestionDected(float startX, float startY, float endX, float endY)
           
 
Methods inherited from class com.stringsandints.inventium.khlrooster.gestionListeners.AbstractGestionListener
onGesture, onGestureCancelled, onGestureEnded, onGestureStarted, performAction, setAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SWIPE_MIN_DISTANCE

private static final int SWIPE_MIN_DISTANCE
See Also:
Constant Field Values
Constructor Detail

UpFlingGestion

public UpFlingGestion(GestionAction ga)
Method Detail

gestionDected

public void gestionDected(float startX,
                          float startY,
                          float endX,
                          float endY)
Specified by:
gestionDected in class AbstractGestionListener