cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EditBoxImpl Class Referenceabstract

#include <CCEditBoxImpl.h>

Inheritance diagram for EditBoxImpl:
EditBoxImplAndroid EditBoxImplTizen EditBoxImplWin

Public Member Functions

 EditBoxImpl (EditBox *pEditBox)
virtual ~EditBoxImpl ()
virtual bool initWithSize (const Size &size)=0
var initWithSize ( var size)
local initWithSize ( local size)
virtual void setFont (const char *pFontName, int fontSize)=0
var setFont ( var pFontName, var fontSize)
local setFont ( local pFontName, local fontSize)
virtual void setFontColor (const Color3B &color)=0
virtual void setPlaceholderFont (const char *pFontName, int fontSize)=0
local setPlaceholderFont ( local pFontName, local fontSize)
virtual void setPlaceholderFontColor (const Color3B &color)=0
virtual void setInputMode (EditBox::InputMode inputMode)=0
virtual void setInputFlag (EditBox::InputFlag inputFlag)=0
local setInputFlag ( local inputFlag)
virtual void setMaxLength (int maxLength)=0
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
virtual void setPlaceHolder (const char *pText)=0
local setPlaceHolder ( local pText)
virtual void doAnimationWhenKeyboardMove (float duration, float distance)=0
local doAnimationWhenKeyboardMove ( local duration, local distance)
virtual void openKeyboard ()=0
virtual void closeKeyboard ()=0
local closeKeyboard ()
virtual void setPosition (const Point &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 Point &anchorPoint)=0
local setAnchorPoint ( local anchorPoint)
virtual void visit (void)=0
virtual void onEnter (void)=0
void setDelegate (EditBoxDelegate *pDelegate)
EditBoxDelegategetDelegate ()
var getDelegate ()
EditBoxgetEditBox ()

Protected Attributes

EditBoxDelegate_delegate
EditBox_editBox

Constructor & Destructor Documentation

EditBoxImpl ( EditBox pEditBox)
inline
local EditBoxImpl ( local  pEditBox)
inline
virtual ~EditBoxImpl ( )
inlinevirtual

Member Function Documentation

virtual void closeKeyboard ( )
pure virtual
var closeKeyboard ( )
pure virtual
local closeKeyboard ( )
pure virtual
virtual void
doAnimationWhenKeyboardMove
( float  duration,
float  distance 
)
pure virtual
var doAnimationWhenKeyboardMove ( var  duration,
var  distance 
)
pure virtual
local doAnimationWhenKeyboardMove ( local  duration,
local  distance 
)
pure virtual
EditBoxDelegate* getDelegate ( )
inline
var getDelegate ( )
inline
local getDelegate ( )
inline
EditBox* getEditBox ( )
inline
var getEditBox ( )
inline
local getEditBox ( )
inline
virtual int getMaxLength ( )
pure virtual
var getMaxLength ( )
pure virtual
local getMaxLength ( )
pure virtual
virtual const char* getText ( void  )
pure virtual
var getText (   )
pure virtual
local getText (   )
pure virtual
virtual bool initWithSize ( const Size size)
pure virtual
var initWithSize ( var  size)
pure virtual
local initWithSize ( local  size)
pure virtual
virtual bool isEditing ( )
pure virtual
var isEditing ( )
pure virtual
local isEditing ( )
pure virtual
virtual void onEnter ( void  )
pure virtual
virtual void openKeyboard ( )
pure virtual
var openKeyboard ( )
pure virtual
local openKeyboard ( )
pure virtual
virtual void setAnchorPoint ( const Point anchorPoint)
pure virtual
var setAnchorPoint ( var  anchorPoint)
pure virtual
local setAnchorPoint ( local  anchorPoint)
pure virtual
virtual void setContentSize ( const Size size)
pure virtual
var setContentSize ( var  size)
pure virtual
local setContentSize ( local  size)
pure virtual
void setDelegate ( EditBoxDelegate pDelegate)
inline
var setDelegate ( var  pDelegate)
inline
local setDelegate ( local  pDelegate)
inline
virtual void setFont ( const char *  pFontName,
int  fontSize 
)
pure virtual
var setFont ( var  pFontName,
var  fontSize 
)
pure virtual
local setFont ( local  pFontName,
local  fontSize 
)
pure virtual
virtual void setFontColor ( const Color3B color)
pure virtual
var setFontColor ( var  color)
pure virtual
local setFontColor ( local  color)
pure virtual
virtual void setInputFlag ( EditBox::InputFlag  inputFlag)
pure virtual
var setInputFlag ( var  inputFlag)
pure virtual
local setInputFlag ( local  inputFlag)
pure virtual
virtual void setInputMode ( EditBox::InputMode  inputMode)
pure virtual
var setInputMode ( var  inputMode)
pure virtual
local setInputMode ( local  inputMode)
pure virtual
virtual void setMaxLength ( int  maxLength)
pure virtual
var setMaxLength ( var  maxLength)
pure virtual
local setMaxLength ( local  maxLength)
pure virtual
virtual void setPlaceHolder ( const char *  pText)
pure virtual
var setPlaceHolder ( var  pText)
pure virtual
local setPlaceHolder ( local  pText)
pure virtual
virtual void setPlaceholderFont ( const char *  pFontName,
int  fontSize 
)
pure virtual
var setPlaceholderFont ( var  pFontName,
var  fontSize 
)
pure virtual
local setPlaceholderFont ( local  pFontName,
local  fontSize 
)
pure virtual
virtual void
setPlaceholderFontColor
( const Color3B color)
pure virtual
var setPlaceholderFontColor ( var  color)
pure virtual
local setPlaceholderFontColor ( local  color)
pure virtual
virtual void setPosition ( const Point pos)
pure virtual
var setPosition ( var  pos)
pure virtual
local setPosition ( local  pos)
pure virtual
virtual void setReturnType ( EditBox::KeyboardReturnType  returnType)
pure virtual
var setReturnType ( var  returnType)
pure virtual
local setReturnType ( local  returnType)
pure virtual
virtual void setText ( const char *  pText)
pure virtual
var setText ( var  pText)
pure virtual
local setText ( local  pText)
pure virtual
virtual void setVisible ( bool  visible)
pure virtual
var setVisible ( var  visible)
pure virtual
local setVisible ( local  visible)
pure virtual
virtual void visit ( void  )
pure virtual

Member Data Documentation

EditBoxDelegate* _delegate
protected
var _delegate
protected
local _delegate
protected
EditBox* _editBox
protected
var _editBox
protected
local _editBox
protected

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