|
cocos2d-x
2.2.3-gd2.113-rev1ec524e
|
Input Method Edit Message Dispatcher. More...
#include <CCIMEDispatcher.h>
Public Member Functions | |
| ~CCIMEDispatcher () | |
| void | dispatchInsertText (const char *pText, int nLen) |
| Dispatches the input text from IME. More... | |
| void | dispatchDeleteBackward () |
| Dispatches the delete-backward operation. More... | |
| const char * | getContentText () |
| Get the content text from CCIMEDelegate, retrieved previously from IME. More... | |
| void | dispatchKeyboardWillShow (CCIMEKeyboardNotificationInfo &info) |
| void | dispatchKeyboardDidShow (CCIMEKeyboardNotificationInfo &info) |
| void | dispatchKeyboardWillHide (CCIMEKeyboardNotificationInfo &info) |
| void | dispatchKeyboardDidHide (CCIMEKeyboardNotificationInfo &info) |
Static Public Member Functions | |
| static CCIMEDispatcher * | sharedDispatcher () |
| Returns the shared CCIMEDispatcher object for the system. More... | |
Protected Member Functions | |
| void | addDelegate (CCIMEDelegate *pDelegate) |
| Add delegate to receive IME messages. More... | |
| bool | attachDelegateWithIME (CCIMEDelegate *pDelegate) |
| Attach the pDelegate to the IME. More... | |
| bool | detachDelegateWithIME (CCIMEDelegate *pDelegate) |
| void | removeDelegate (CCIMEDelegate *pDelegate) |
| Remove the delegate from the delegates which receive IME messages. More... | |
Friends | |
| class | CCIMEDelegate |
Input Method Edit Message Dispatcher.
NA NA
| ~CCIMEDispatcher | ( | ) |
|
protected |
Add delegate to receive IME messages.
|
protected |
Attach the pDelegate to the IME.
|
protected |
| void dispatchDeleteBackward | ( | ) |
Dispatches the delete-backward operation.
| void dispatchInsertText | ( | const char * | pText, |
| int | nLen | ||
| ) |
Dispatches the input text from IME.
| void dispatchKeyboardDidHide | ( | CCIMEKeyboardNotificationInfo & | info | ) |
| void dispatchKeyboardDidShow | ( | CCIMEKeyboardNotificationInfo & | info | ) |
| void dispatchKeyboardWillHide | ( | CCIMEKeyboardNotificationInfo & | info | ) |
| void dispatchKeyboardWillShow | ( | CCIMEKeyboardNotificationInfo & | info | ) |
| const char * getContentText | ( | ) |
Get the content text from CCIMEDelegate, retrieved previously from IME.
|
protected |
Remove the delegate from the delegates which receive IME messages.
|
static |
Returns the shared CCIMEDispatcher object for the system.
|
friend |