Input Method Edit Message Dispatcher. More...
#include <CCIMEDispatcher.h>
Public Member Functions | |
~CCIMEDispatcher () | |
void | dispatchInsertText (const char *pText, int nLen) |
Releases all CCIMEDelegates from the shared dispatcher. 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.
~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 | ||
) |
Releases all CCIMEDelegates from the shared dispatcher.
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 |