Cocos2d-x  v3.17
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
IMEDispatcher Class Reference

Input Method Edit Message Dispatcher. More...

Public Member Functions

void dispatchInsertText (const char *text, size_t len)
 Dispatches the input text from IME.
 
var dispatchInsertText ( var text, var len)
 Dispatches the input text from IME.
 
void dispatchDeleteBackward ()
 Dispatches the delete-backward operation.
 
void dispatchControlKey (EventKeyboard::KeyCode keyCode)
 Dispatches the press control key operation.
 
var dispatchControlKey ( var keyCode)
 Dispatches the press control key operation.
 
const std::string & getContentText ()
 Get the content text from IMEDelegate, retrieved previously from IME.
 

Static Public Member Functions

static IMEDispatcher * sharedDispatcher ()
 Returns the shared IMEDispatcher object for the system.
 

Detailed Description

Input Method Edit Message Dispatcher.


The documentation for this class was generated from the following file: