Improved event handling autocompletion (for FD)

This commit is contained in:
Pavel fljot 2012-06-01 13:49:29 +03:00
parent 54cc5d42bd
commit 8d870f4e93
8 changed files with 41 additions and 2 deletions

View file

@ -15,6 +15,12 @@ package org.gestouch.gestures
import flash.utils.Dictionary;
/**
* Dispatched when the state of the gesture changes.
*
* @eventType org.gestouch.events.GestureStateEvent
* @see #state
*/
[Event(name="stateChange", type="org.gestouch.events.GestureStateEvent")]
/**
* Base class for all gestures. Gesture is essentially a detector that tracks touch points

View file

@ -8,6 +8,11 @@ package org.gestouch.gestures
import flash.utils.Timer;
/**
*
* @eventType org.gestouch.events.LongPressGestureEvent
*/
[Event(name="gestureLongPress", type="org.gestouch.events.LongPressGestureEvent")]
/**
* TODO: -location
* - check on iOS (Obj-C) what happens when numTouchesRequired=2, two finger down, then quickly release one.

View file

@ -6,6 +6,11 @@ package org.gestouch.gestures
import flash.geom.Point;
/**
*
* @eventType org.gestouch.events.PanGestureEvent
*/
[Event(name="gesturePan", type="org.gestouch.events.PanGestureEvent")]
/**
* TODO:

View file

@ -7,6 +7,11 @@ package org.gestouch.gestures
import flash.geom.Point;
/**
*
* @eventType org.gestouch.events.RotateGestureEvent
*/
[Event(name="gestureRotate", type="org.gestouch.events.RotateGestureEvent")]
/**
* TODO:

View file

@ -6,6 +6,11 @@ package org.gestouch.gestures
import flash.geom.Point;
/**
*
* @eventType org.gestouch.events.SwipeGestureEvent
*/
[Event(name="gestureSwipe", type="org.gestouch.events.SwipeGestureEvent")]
/**
* TODO:

View file

@ -8,6 +8,10 @@ package org.gestouch.gestures
import flash.utils.Timer;
/**
*
* @eventType org.gestouch.events.TapGestureEvent
*/
[Event(name="gestureTap", type="org.gestouch.events.TapGestureEvent")]
/**
* TODO: check failing conditions (iDevice)

View file

@ -6,8 +6,12 @@ package org.gestouch.gestures
import org.gestouch.utils.GestureUtils;
import flash.geom.Point;
/**
*
* @eventType org.gestouch.events.TransformGestureEvent
*/
[Event(name="gestureTransform", type="org.gestouch.events.TransformGestureEvent")]
/**
* @author Pavel fljot

View file

@ -6,6 +6,11 @@ package org.gestouch.gestures
import flash.geom.Point;
/**
*
* @eventType org.gestouch.events.ZoomGestureEvent
*/
[Event(name="gestureZoom", type="org.gestouch.events.ZoomGestureEvent")]
/**
* TODO: