Class Index | File Index

Classes


Class cc.KeyboardHandler


Extends cc.Class.

Defined in: CCKeyboardDelegate.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
KeyboardHandler is an object that contains KeyboardDelegate
Method Summary
Method Attributes Method Name and Description
<static>  
cc.KeyboardHandler.create(delegate)
Create a KeyboardHandler with KeyboardDelegate
 
returns the keyboard delegate
 
initWithDelegate(delegate)
initializes a cc.KeyboardHandler with a delegate
 
setDelegate(delegate)
set the keyboard delegate
Class Detail
cc.KeyboardHandler()
KeyboardHandler is an object that contains KeyboardDelegate
Method Detail
<static> {cc.KeyboardHandler} cc.KeyboardHandler.create(delegate)
Create a KeyboardHandler with KeyboardDelegate
Parameters:
delegate
Returns:
{cc.KeyboardHandler}

{cc.KeyboardDelegate} getDelegate()
returns the keyboard delegate
Returns:
{cc.KeyboardDelegate}

{Boolean} initWithDelegate(delegate)
initializes a cc.KeyboardHandler with a delegate
Parameters:
{cc.KeyboardDelegate} delegate
Returns:
{Boolean}

setDelegate(delegate)
set the keyboard delegate
Parameters:
{cc.KeyboardDelegate} delegate

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