Class Index | File Index

Classes


Class cc.TargetedTouchHandler


Extends cc.TouchHandler.

Defined in: CCTouchHandler.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
MutableSet that contains the claimed touches
<static>  
cc.TargetedTouchHandler.handlerWithDelegate(delegate, priority, swallow)
Allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
 
initWithDelegate(delegate, priority, swallow)
Initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
 
Whether or not the touches are swallowed
 
setSwallowsTouches(swallowsTouches)
Methods borrowed from class cc.TouchHandler:
getDelegate, getEnabledSelectors, getPriority, setDelegate, setEnalbedSelectors, setPriority
Class Detail
cc.TargetedTouchHandler()
Method Detail
{Array} getClaimedTouches()
MutableSet that contains the claimed touches
Returns:
{Array}

<static> {cc.TargetedTouchHandler} cc.TargetedTouchHandler.handlerWithDelegate(delegate, priority, swallow)
Allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
Parameters:
{cc.TouchDelegate} delegate
{Number} priority
{Boolean} swallow
Returns:
{cc.TargetedTouchHandler}

{Boolean} initWithDelegate(delegate, priority, swallow)
Initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
Parameters:
{cc.TouchDelegate} delegate
{Number} priority
{Boolean} swallow
Returns:
{Boolean}

{Boolean} isSwallowsTouches()
Whether or not the touches are swallowed
Returns:
{Boolean}

setSwallowsTouches(swallowsTouches)
Parameters:
{Boolean} swallowsTouches

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:53 GMT-0800 (PST)