cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TextFieldDelegate Class Reference

#include <CCTextFieldTTF.h>

Inheritance diagram for TextFieldDelegate:
UICCTextField

Public Member Functions

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

Constructor & Destructor Documentation

virtual ~TextFieldDelegate ( )
inlinevirtual
var ~TextFieldDelegate ( )
inlinevirtual
local ~TextFieldDelegate ( )
inlinevirtual

Member Function Documentation

virtual bool onDraw ( TextFieldTTF sender)
inlinevirtual

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

var onDraw ( var  sender)
inlinevirtual

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

local onDraw ( local  sender)
inlinevirtual

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

virtual bool
onTextFieldAttachWithIME
( TextFieldTTF sender)
inlinevirtual

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

Reimplemented in UICCTextField.

var onTextFieldAttachWithIME ( var  sender)
inlinevirtual

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

Reimplemented in UICCTextField.

local onTextFieldAttachWithIME ( local  sender)
inlinevirtual

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

Reimplemented in UICCTextField.

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

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

Reimplemented in UICCTextField.

var onTextFieldDeleteBackward ( var  sender,
var  delText,
var  nLen 
)
inlinevirtual

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

Reimplemented in UICCTextField.

local onTextFieldDeleteBackward ( local  sender,
local  delText,
local  nLen 
)
inlinevirtual

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

Reimplemented in UICCTextField.

virtual bool
onTextFieldDetachWithIME
( TextFieldTTF sender)
inlinevirtual

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

Reimplemented in UICCTextField.

var onTextFieldDetachWithIME ( var  sender)
inlinevirtual

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

Reimplemented in UICCTextField.

local onTextFieldDetachWithIME ( local  sender)
inlinevirtual

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

Reimplemented in UICCTextField.

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

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

Reimplemented in UICCTextField.

var onTextFieldInsertText ( var  sender,
var  text,
var  nLen 
)
inlinevirtual

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

Reimplemented in UICCTextField.

local onTextFieldInsertText ( local  sender,
local  text,
local  nLen 
)
inlinevirtual

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

Reimplemented in UICCTextField.


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