#include <CCEditBoxImpl.h>
Public Member Functions | |
EditBoxImpl (EditBox *pEditBox) | |
EditBoxImpl ( local pEditBox) | |
virtual | ~EditBoxImpl () |
virtual bool | initWithSize (const Size &size)=0 |
local | initWithSize ( local size) |
virtual void | setFont (const char *pFontName, int fontSize)=0 |
local | setFont ( local pFontName, local fontSize) |
virtual void | setFontColor (const Color3B &color)=0 |
virtual void | setPlaceholderFont (const char *pFontName, int fontSize)=0 |
var | setPlaceholderFont ( var pFontName, var fontSize) |
local | setPlaceholderFont ( local pFontName, local fontSize) |
virtual void | setPlaceholderFontColor (const Color3B &color)=0 |
virtual void | setInputMode (EditBox::InputMode inputMode)=0 |
var | setInputMode ( var inputMode) |
local | setInputMode ( local inputMode) |
virtual void | setInputFlag (EditBox::InputFlag inputFlag)=0 |
var | setInputFlag ( var inputFlag) |
local | setInputFlag ( local inputFlag) |
virtual void | setMaxLength (int maxLength)=0 |
var | setMaxLength ( var maxLength) |
local | setMaxLength ( local maxLength) |
virtual int | getMaxLength ()=0 |
virtual void | setReturnType (EditBox::KeyboardReturnType returnType)=0 |
local | setReturnType ( local returnType) |
virtual bool | isEditing ()=0 |
virtual void | setText (const char *pText)=0 |
local | setText ( local pText) |
virtual const char * | getText (void)=0 |
local | getText () |
virtual void | setPlaceHolder (const char *pText)=0 |
local | setPlaceHolder ( local pText) |
virtual void | doAnimationWhenKeyboardMove (float duration, float distance)=0 |
var | doAnimationWhenKeyboardMove ( var duration, var distance) |
local | doAnimationWhenKeyboardMove ( local duration, local distance) |
virtual void | openKeyboard ()=0 |
virtual void | closeKeyboard ()=0 |
virtual void | setPosition (const Vec2 &pos)=0 |
local | setPosition ( local pos) |
virtual void | setVisible (bool visible)=0 |
local | setVisible ( local visible) |
virtual void | setContentSize (const Size &size)=0 |
local | setContentSize ( local size) |
virtual void | setAnchorPoint (const Vec2 &anchorPoint)=0 |
virtual void | updatePosition (float dt) |
check the editbox's position, update it when needed More... | |
var | updatePosition ( var dt) |
check the editbox's position, update it when needed More... | |
local | updatePosition ( local dt) |
check the editbox's position, update it when needed More... | |
virtual void | visit (void)=0 |
virtual void | onEnter (void)=0 |
void | setDelegate (EditBoxDelegate *pDelegate) |
var | setDelegate ( var pDelegate) |
local | setDelegate ( local pDelegate) |
EditBoxDelegate * | getDelegate () |
EditBox * | getEditBox () |
Protected Attributes | |
EditBoxDelegate * | _delegate |
EditBox * | _editBox |
|
inline |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplWin, EditBoxImplAndroid, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
inlinevirtual |
check the editbox's position, update it when needed
|
inlinevirtual |
check the editbox's position, update it when needed
|
inlinevirtual |
check the editbox's position, update it when needed
|
pure virtual |
Implemented in EditBoxImplAndroid, EditBoxImplWin, and CCEditBoxImplWp8.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |