Class CCIMEDispatcher

#include <Geode/cocos/text_input_node/CCIMEDispatcher.h>
classCCIMEDispatcher{ ... }

Input Method Edit Message Dispatcher.

Examples0
Public static methods1
staticcocos2d::CCIMEDispatcher*sharedDispatcher()

Returns the shared CCIMEDispatcher object for the system.

Public member functions10
voiddispatchInsertText(,
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()

//////////////////////////////////////////////////////////////////////////

voiddispatchKeyboardDidShow()
No description provided
voiddispatchKeyboardWillHide()
No description provided
voiddispatchKeyboardWillHide()
No description provided
voiddispatchKeyboardDidHide()
No description provided
Fields0
Protected member functions4
voidaddDelegate()

Add delegate to receive IME messages.

boolattachDelegateWithIME()

Attach the pDelegate to the IME.

Return value
If the old delegate can detach from the IME, and the new delegate can attach to the IME, return true, otherwise false.
booldetachDelegateWithIME()
No description provided
voidremoveDelegate()

Remove the delegate from the delegates which receive IME messages.

Protected fields0