Input Method Edit Message Dispatcher.
Class CCIMEDispatcher
#include <Geode/cocos/text_input_node/CCIMEDispatcher.h>
classCCIMEDispatcher{ ... }
Examples0
Public static methods1
Public member functions10
voiddispatchInsertText(charconst*pText,intnLen,)
Dispatches the input text from IME.
voiddispatchDeleteBackward()
Dispatches the delete-backward operation.
voiddispatchDeleteForward()
No description provided
boolhasDelegate()
No description provided
charconst*getContentText()
Get the content text from CCIMEDelegate, retrieved previously from IME.
voiddispatchKeyboardWillShow()
No description provided
voiddispatchKeyboardDidShow()
No description provided
voiddispatchKeyboardWillHide()
No description provided
voiddispatchKeyboardWillHide()
No description provided
voiddispatchKeyboardDidHide()
No description provided
Fields0
Protected member functions4
voidaddDelegate(cocos2d::CCIMEDelegate*pDelegate)
Add delegate to receive IME messages.
boolattachDelegateWithIME(cocos2d::CCIMEDelegate*pDelegate)
Attach the pDelegate to the IME.
If the old delegate can detach from the IME, and the new delegate can attach to the IME, return true, otherwise false.
booldetachDelegateWithIME(cocos2d::CCIMEDelegate*pDelegate)
No description provided
voidremoveDelegate(cocos2d::CCIMEDelegate*pDelegate)
Remove the delegate from the delegates which receive IME messages.