Packagepq.multitouch.gestures
Classpublic class BaseGesture
Inheritance BaseGesture InheritanceObject

The BaseGesture class is the base class for all touch gestures and manipulators.



Public Properties
 PropertyDefined by
   touchManager : TouchManager
[read-only]Get the TouchManager instance of current gesture.
BaseGesture
   obj : DisplayObject
[read-only]Get the DisplayObject under this BaseGesture instance's control.
BaseGesture
Public Methods
 MethodDefined by
  
BaseGesture():void
BaseGesture class is the base class for all touch gestures and manipulators.
BaseGesture
  
touchDownHandler(e:PQTouchEvent):void
Overwrite touchDownHandler to implement your own TouchDown logic.
BaseGesture
  
touchMoveHandler(e:PQTouchEvent):void
Overwrite touchMoveHandler to implement your own TouchMove logic.
BaseGesture
  
touchUpHandler(e:PQTouchEvent):void
Overwrite TouchUpHandler to implement your own TouchUp logic.
BaseGesture
Property detail
touchManager property  
touchManager:TouchManager [read-only]

Get the TouchManager instance of current gesture.

Implementation

public function get touchManager():TouchManager

obj property  
obj:DisplayObject [read-only]

Get the DisplayObject under this BaseGesture instance's control.

Implementation

public function get obj():DisplayObject

Method detail

touchDownHandler

() method  
public virtual function touchDownHandler(e:PQTouchEvent):void

Overwrite touchDownHandler to implement your own TouchDown logic.

Parameters
e:PQTouchEvent — touch event instance.
touchMoveHandler ()method  
public virtual function touchMoveHandler(e:PQTouchEvent):void

Overwrite touchMoveHandler to implement your own TouchMove logic.

Parameters

e:PQTouchEvent — touch event instance.
touchUpHandler ()method  
public virtual function touchUpHandler(e:PQTouchEvent):void

Overwrite touchUpHandler to implement your own TouchUp logic.

Parameters

e:PQTouchEvent — touch event instance.