Cocos2d-x  4.0.0
Public Member Functions | Static Public Member Functions | List of all members
IMEDispatcher Class Reference

Input Method Edit Message Dispatcher. More...

Public Member Functions

 ~IMEDispatcher ()
 NA NA
 
void dispatchInsertText (const char *text, size_t 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.
 
const std::string & getContentText ()
 Get the content text from IMEDelegate, retrieved previously from IME.
 
void dispatchKeyboardWillShow (IMEKeyboardNotificationInfo &info)
 NA
 
void dispatchKeyboardDidShow (IMEKeyboardNotificationInfo &info)
 NA
 
void dispatchKeyboardWillHide (IMEKeyboardNotificationInfo &info)
 NA
 
void dispatchKeyboardDidHide (IMEKeyboardNotificationInfo &info)
 NA
 

Static Public Member Functions

static IMEDispatchersharedDispatcher ()
 Returns the shared IMEDispatcher object for the system.
 

Detailed Description

Input Method Edit Message Dispatcher.

Member Function Documentation

static IMEDispatcher* sharedDispatcher ( )
static

Returns the shared IMEDispatcher object for the system.

NA NA

void dispatchInsertText ( const char *  text,
size_t  len 
)

Dispatches the input text from IME.

NA

void dispatchDeleteBackward ( )

Dispatches the delete-backward operation.

NA

void dispatchControlKey ( EventKeyboard::KeyCode  keyCode)

Dispatches the press control key operation.

NA

const std::string& getContentText ( )

Get the content text from IMEDelegate, retrieved previously from IME.

NA


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