cocos2d-x  3.3rc0
 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...
 
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, size_t nLen)
 If the sender doesn't want to insert the text, return true;. More...
 
var onTextFieldInsertText ( var sender, var text, var 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, size_t nLen)
 If the sender doesn't want to delete the delText, return true;. More...
 
var onTextFieldDeleteBackward ( var sender, var delText, var nLen)
 If the sender doesn't want to delete the delText, return true;. More...
 
local onTextFieldDeleteBackward ( local sender, local delText, local nLen)
 If the sender doesn't want to delete the delText, return true;. More...
 
virtual bool onVisit (TextFieldTTF *sender, Renderer *renderer, const Mat4 &transform, uint32_t flags)
 If the sender doesn't want to draw, return true. More...
 
var onVisit ( var sender, var renderer, var transform, var flags)
 If the sender doesn't want to draw, return true. More...
 
local onVisit ( local sender, local renderer, local transform, local flags)
 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
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,
size_t  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,
size_t  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.

virtual bool onVisit ( TextFieldTTF sender,
Renderer renderer,
const Mat4 transform,
uint32_t  flags 
)
inlinevirtual

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

var onVisit ( var  sender,
var  renderer,
var  transform,
var  flags 
)
inlinevirtual

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

local onVisit ( local  sender,
local  renderer,
local  transform,
local  flags 
)
inlinevirtual

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


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