cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCTextFieldDelegate Class Reference

#include <CCTextFieldTTF.h>

Public Member Functions

virtual bool onTextFieldAttachWithIME (CCTextFieldTTF *sender)
 If the sender doesn't want to attach to the IME, return true;. More...
 
virtual bool onTextFieldDetachWithIME (CCTextFieldTTF *sender)
 If the sender doesn't want to detach from the IME, return true;. More...
 
virtual bool onTextFieldInsertText (CCTextFieldTTF *sender, const char *text, int nLen)
 If the sender doesn't want to insert the text, return true;. More...
 
virtual bool onTextFieldDeleteBackward (CCTextFieldTTF *sender, const char *delText, int nLen)
 If the sender doesn't want to delete the delText, return true;. More...
 
virtual bool onDraw (CCTextFieldTTF *sender)
 If the sender doesn't want to draw, return true. More...
 

Member Function Documentation

◆ onDraw()

virtual bool onDraw ( CCTextFieldTTF sender)
inlinevirtual

If the sender doesn't want to draw, return true.

◆ onTextFieldAttachWithIME()

virtual bool onTextFieldAttachWithIME ( CCTextFieldTTF sender)
inlinevirtual

If the sender doesn't want to attach to the IME, return true;.

◆ onTextFieldDeleteBackward()

virtual bool onTextFieldDeleteBackward ( CCTextFieldTTF sender,
const char *  delText,
int  nLen 
)
inlinevirtual

If the sender doesn't want to delete the delText, return true;.

◆ onTextFieldDetachWithIME()

virtual bool onTextFieldDetachWithIME ( CCTextFieldTTF sender)
inlinevirtual

If the sender doesn't want to detach from the IME, return true;.

◆ onTextFieldInsertText()

virtual bool onTextFieldInsertText ( CCTextFieldTTF sender,
const char *  text,
int  nLen 
)
inlinevirtual

If the sender doesn't want to insert the text, return true;.


The documentation for this class was generated from the following file: