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