Input Method Edit Message Dispatcher. More...
#include <CCIMEDispatcher.h>
Public Member Functions | |
~IMEDispatcher () | |
void | dispatchInsertText (const char *text, size_t len) |
Dispatches the input text from IME. 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 Delegate to the IME. More... | |
var | attachDelegateWithIME ( var delegate) |
Attach the Delegate to the IME. More... | |
local | attachDelegateWithIME ( local delegate) |
Attach the Delegate to the IME. More... | |
bool | detachDelegateWithIME (IMEDelegate *delegate) |
Dettach the delegate to the IME. More... | |
local | detachDelegateWithIME ( local delegate) |
Dettach the delegate to the IME. More... | |
void | removeDelegate (IMEDelegate *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.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Add delegate to receive IME messages.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Add delegate to receive IME messages.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Attach the Delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Attach the Delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Attach the Delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Dettach the delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Dettach the delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
|
protected |
Dettach the delegate to the IME.
delegate | A instance implements IMEDelegate delegate. |
void dispatchDeleteBackward | ( | ) |
Dispatches the delete-backward operation.
void dispatchInsertText | ( | const char * | text, |
size_t | len | ||
) |
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.
delegate | A instance implements the IMEDelegate delegate. |
|
protected |
Remove the delegate from the delegates which receive IME messages.
delegate | A instance implements the IMEDelegate delegate. |
|
protected |
Remove the delegate from the delegates which receive IME messages.
delegate | A instance implements the IMEDelegate delegate. |
|
static |
Returns the shared IMEDispatcher object for the system.
|
friend |
|
friend |
|
friend |