Packagecom.gestureworks.managers
Classpublic class TouchManager
InheritanceTouchManager Inheritance Object



Public Properties
 PropertyDefined By
  overlays : Vector.<ITouchObject>
[static] Registers global overlays to receive point data
TouchManager
  points : Dictionary
[static]
TouchManager
  touchObjects : Dictionary
[static]
TouchManager
Public Methods
 MethodDefined By
  
[static]
TouchManager
  
deregisterHook(hook:Function):void
[static] Unregisters a hook function
TouchManager
  
[static] Deregisters a virtual transform object
TouchManager
  
[static] Decides how to assign the captured touch point to a cluster and pass to parent, an explicit target, an explicit list of targets or passed to any touch object in the local display stack.
TouchManager
  
[static]
TouchManager
  
[static]
TouchManager
  
[static]
TouchManager
  
[static]
TouchManager
  
processOverlays(e:GWTouchEvent, o:Vector.<ITouchObject> = null):void
[static] Sends overlays through pipeline
TouchManager
  
registerHook(hook:Function):void
[static] Registers a function to externally modify the provided GWTouchEvent for point processing
TouchManager
  
[static] Register a virtual transform object with the touch manager
TouchManager
  
[static]
TouchManager
  
[static]
TouchManager
  
validTarget(event:GWTouchEvent):Boolean
[static] Determines the event's target is valid based on activated state and local mode settings.
TouchManager
Property Detail
overlaysproperty
overlays:Vector.<ITouchObject>

Registers global overlays to receive point data


Implementation
    public static function get overlays():Vector.<ITouchObject>
    public static function set overlays(value:Vector.<ITouchObject>):void
pointsproperty 
public static var points:Dictionary

touchObjectsproperty 
public static var touchObjects:Dictionary

Method Detail
callLocalGestureParser()method
public static function callLocalGestureParser(obj:ITouchObject):void

Parameters

obj:ITouchObject

deInitialize()method 
gw_public static function deInitialize():void

deregisterHook()method 
public static function deregisterHook(hook:Function):void

Unregisters a hook function

Parameters

hook:Function

deregisterVTO()method 
public static function deregisterVTO(t:ITouchObject):void

Deregisters a virtual transform object

Parameters

t:ITouchObject

initialize()method 
gw_public static function initialize():void

onTouchDown()method 
public static function onTouchDown(event:GWTouchEvent):void

Decides how to assign the captured touch point to a cluster and pass to parent, an explicit target, an explicit list of targets or passed to any touch object in the local display stack.

Parameters

event:GWTouchEvent

onTouchMove()method 
public static function onTouchMove(event:GWTouchEvent):void

Parameters

event:GWTouchEvent

onTouchUp()method 
public static function onTouchUp(event:GWTouchEvent):void

Parameters

event:GWTouchEvent

pointCount()method 
public static function pointCount():int

Returns
int
preinitBase()method 
public static function preinitBase(obj:ITouchObject):void

Parameters

obj:ITouchObject

processOverlays()method 
public static function processOverlays(e:GWTouchEvent, o:Vector.<ITouchObject> = null):void

Sends overlays through pipeline

Parameters

e:GWTouchEvent
 
o:Vector.<ITouchObject> (default = null)

registerHook()method 
public static function registerHook(hook:Function):void

Registers a function to externally modify the provided GWTouchEvent for point processing

Parameters

hook:Function — The hook function with GWTouchEvent parameter

registerVTO()method 
public static function registerVTO(t:ITouchObject):void

Register a virtual transform object with the touch manager

Parameters

t:ITouchObject

resetGlobalClock()method 
gw_public static function resetGlobalClock():void

touchFrameHandler()method 
public static function touchFrameHandler(event:GWEvent):void

Parameters

event:GWEvent

updateTouchObject()method 
public static function updateTouchObject(tO:ITouchObject):void

Parameters

tO:ITouchObject

validTarget()method 
public static function validTarget(event:GWTouchEvent):Boolean

Determines the event's target is valid based on activated state and local mode settings.

Parameters

event:GWTouchEvent

Returns
Boolean