Class Index | File Index

Classes


Class cc.IMEDelegate


Extends cc.Class.

Defined in: CCIMEDispatcher.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Input method editor delegate.
Method Summary
Method Attributes Method Name and Description
 
Remove delegate
 
Decide the delegate instance is ready for receive ime message or not.
 
Decide the delegate instance can stop receive ime message or not.
 
ctor()
Constructor
 
Called by CCIMEDispatcher when user clicked the backward key.
 
Detach with IME
 
When the delegate detach with IME, this method call by CCIMEDispatcher.
 
When the delegate detach with IME, this method call by CCIMEDispatcher.
 
Called by CCIMEDispatcher for get text which delegate already has.
 
insertText(text, len)
Called by CCIMEDispatcher when some text input from IME.
 
 
 
 
 
Remove delegate
Class Detail
cc.IMEDelegate()
Input method editor delegate.
Method Detail
{Boolean} attachWithIME()
Remove delegate
Returns:
{Boolean}

{Boolean} canAttachWithIME()
Decide the delegate instance is ready for receive ime message or not.
Called by CCIMEDispatcher.
Returns:
{Boolean}

{Boolean} canDetachWithIME()
Decide the delegate instance can stop receive ime message or not.
Returns:
{Boolean}

ctor()
Constructor

deleteBackward()
Called by CCIMEDispatcher when user clicked the backward key.

{Boolean} detachWithIME()
Detach with IME
Returns:
{Boolean}

didAttachWithIME()
When the delegate detach with IME, this method call by CCIMEDispatcher.

didDetachWithIME()
When the delegate detach with IME, this method call by CCIMEDispatcher.

{String} getContentText()
Called by CCIMEDispatcher for get text which delegate already has.
Returns:
{String}

insertText(text, len)
Called by CCIMEDispatcher when some text input from IME.
Parameters:
text
len

keyboardDidHide(info)
Parameters:
info

keyboardDidShow(info)
Parameters:
info

keyboardWillHide(info)
Parameters:
info

keyboardWillShow(info)
Parameters:
info

removeDelegate()
Remove delegate

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