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

A input protocol for TextField. More...

#include <CCTextFieldTTF.h>

Inheritance diagram for TextFieldDelegate:
UICCTextField

Public Member Functions

virtual ~TextFieldDelegate ()
 Desctructor for TextFieldDelegate. More...
 
var ~TextFieldDelegate ()
 Desctructor for TextFieldDelegate. More...
 
local ~TextFieldDelegate ()
 Desctructor for TextFieldDelegate. More...
 
virtual bool onTextFieldAttachWithIME (TextFieldTTF *sender)
 If the sender doesn't want to attach to the IME, return true. More...
 
var onTextFieldAttachWithIME ( var 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, size_t 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...
 
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...
 

Detailed Description

A input protocol for TextField.

Constructor & Destructor Documentation

virtual ~TextFieldDelegate ( )
inlinevirtual

Desctructor for TextFieldDelegate.

var ~TextFieldDelegate ( )
inlinevirtual

Desctructor for TextFieldDelegate.

local ~TextFieldDelegate ( )
inlinevirtual

Desctructor for TextFieldDelegate.

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: