Input Method Edit Message Dispatcher. More...
#include <CCIMEDispatcher.h>
Public Member Functions | |
~IMEDispatcher () | |
void | dispatchInsertText (const char *text, size_t len) |
Releases all IMEDelegates from the shared dispatcher. More... | |
void | dispatchDeleteBackward () |
Dispatches the delete-backward operation. More... | |
const std::string & | getContentText () |
Get the content text from IMEDelegate, retrieved previously from IME. More... | |
void | dispatchKeyboardWillShow (IMEKeyboardNotificationInfo &info) |
void | dispatchKeyboardDidShow (IMEKeyboardNotificationInfo &info) |
void | dispatchKeyboardWillHide (IMEKeyboardNotificationInfo &info) |
void | dispatchKeyboardDidHide (IMEKeyboardNotificationInfo &info) |
Static Public Member Functions | |
static IMEDispatcher * | sharedDispatcher () |
Returns the shared IMEDispatcher object for the system. More... | |
Protected Member Functions | |
void | addDelegate (IMEDelegate *delegate) |
Add delegate to receive IME messages. More... | |
local | addDelegate ( local delegate) |
Add delegate to receive IME messages. More... | |
bool | attachDelegateWithIME (IMEDelegate *delegate) |
Attach the pDelegate to the IME. More... | |
local | attachDelegateWithIME ( local delegate) |
Attach the pDelegate to the IME. More... | |
bool | detachDelegateWithIME (IMEDelegate *delegate) |
local | detachDelegateWithIME ( local delegate) |
void | removeDelegate (IMEDelegate *delegate) |
Remove the delegate from the delegates which receive IME messages. More... | |
var | removeDelegate ( var delegate) |
Remove the delegate from the delegates which receive IME messages. More... | |
local | removeDelegate ( local delegate) |
Remove the delegate from the delegates which receive IME messages. More... | |
Friends | |
class | IMEDelegate |
Input Method Edit Message Dispatcher.
~IMEDispatcher | ( | ) |
|
protected |
Add delegate to receive IME messages.
|
protected |
Add delegate to receive IME messages.
|
protected |
Add delegate to receive IME messages.
|
protected |
Attach the pDelegate to the IME.
|
protected |
Attach the pDelegate to the IME.
|
protected |
Attach the pDelegate to the IME.
|
protected |
|
protected |
|
protected |
void dispatchDeleteBackward | ( | ) |
Dispatches the delete-backward operation.
void dispatchInsertText | ( | const char * | text, |
size_t | len | ||
) |
Releases all IMEDelegates from the shared dispatcher.
Dispatches the input text from IME.
void dispatchKeyboardDidHide | ( | IMEKeyboardNotificationInfo & | info | ) |
void dispatchKeyboardDidShow | ( | IMEKeyboardNotificationInfo & | info | ) |
void dispatchKeyboardWillHide | ( | IMEKeyboardNotificationInfo & | info | ) |
void dispatchKeyboardWillShow | ( | IMEKeyboardNotificationInfo & | info | ) |
const std::string& getContentText | ( | ) |
Get the content text from IMEDelegate, retrieved previously from IME.
|
protected |
Remove the delegate from the delegates which receive IME messages.
|
protected |
Remove the delegate from the delegates which receive IME messages.
|
protected |
Remove the delegate from the delegates which receive IME messages.
|
static |
Returns the shared IMEDispatcher object for the system.
|
friend |
|
friend |
|
friend |