cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCEditBoxImpl Class Referenceabstract

#include <CCEditBoxImpl.h>

Inheritance diagram for CCEditBoxImpl:
CCEditBoxImplAndroid CCEditBoxImplTizen CCEditBoxImplWin CCEditBoxImplWp8

Public Member Functions

 CCEditBoxImpl (CCEditBox *pEditBox)
 CCEditBoxImpl ( var pEditBox)
 CCEditBoxImpl ( local pEditBox)
virtual ~CCEditBoxImpl ()
var ~CCEditBoxImpl ()
local ~CCEditBoxImpl ()
virtual bool initWithSize (const CCSize &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 ccColor3B &color)=0
var setFontColor ( var color)
local setFontColor ( local color)
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 ccColor3B &color)=0
var setPlaceholderFontColor ( var color)
local setPlaceholderFontColor ( local color)
virtual void setInputMode (EditBoxInputMode inputMode)=0
virtual void setInputFlag (EditBoxInputFlag inputFlag)=0
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 (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
var doAnimationWhenKeyboardMove ( var duration, var distance)
local doAnimationWhenKeyboardMove ( local duration, local distance)
virtual void openKeyboard ()=0
virtual void closeKeyboard ()=0
local closeKeyboard ()
virtual void setPosition (const CCPoint &pos)=0
local setPosition ( local pos)
virtual void setVisible (bool visible)=0
virtual void setContentSize (const CCSize &size)=0
local setContentSize ( local size)
virtual void setAnchorPoint (const CCPoint &anchorPoint)=0
var setAnchorPoint ( var anchorPoint)
local setAnchorPoint ( local anchorPoint)
virtual void visit (void)=0
local visit ()
virtual void onEnter (void)=0
local onEnter ()
void setDelegate (CCEditBoxDelegate *pDelegate)
var setDelegate ( var pDelegate)
local setDelegate ( local pDelegate)
CCEditBoxDelegategetDelegate ()
local getDelegate ()
CCEditBoxgetCCEditBox ()
local getCCEditBox ()

Protected Attributes

CCEditBoxDelegatem_pDelegate
CCEditBoxm_pEditBox

Constructor & Destructor Documentation

CCEditBoxImpl ( CCEditBox pEditBox)
inline
var CCEditBoxImpl ( var  pEditBox)
inline
local CCEditBoxImpl ( local  pEditBox)
inline
virtual ~CCEditBoxImpl ( )
inlinevirtual
var ~CCEditBoxImpl ( )
inlinevirtual
local ~CCEditBoxImpl ( )
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
CCEditBox* getCCEditBox ( )
inline
var getCCEditBox ( )
inline
local getCCEditBox ( )
inline
CCEditBoxDelegate* getDelegate ( )
inline
var getDelegate ( )
inline
local getDelegate ( )
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 CCSize 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
local onEnter (   )
pure virtual
virtual void openKeyboard ( )
pure virtual
var openKeyboard ( )
pure virtual
local openKeyboard ( )
pure virtual
virtual void setAnchorPoint ( const CCPoint anchorPoint)
pure virtual
var setAnchorPoint ( var  anchorPoint)
pure virtual
local setAnchorPoint ( local  anchorPoint)
pure virtual
virtual void setContentSize ( const CCSize size)
pure virtual
var setContentSize ( var  size)
pure virtual
local setContentSize ( local  size)
pure virtual
void setDelegate ( CCEditBoxDelegate 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 ccColor3B color)
pure virtual
var setFontColor ( var  color)
pure virtual
local setFontColor ( local  color)
pure virtual
virtual void setInputFlag ( EditBoxInputFlag  inputFlag)
pure virtual
var setInputFlag ( var  inputFlag)
pure virtual
local setInputFlag ( local  inputFlag)
pure virtual
virtual void setInputMode ( EditBoxInputMode  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 ccColor3B color)
pure virtual
var setPlaceholderFontColor ( var  color)
pure virtual
local setPlaceholderFontColor ( local  color)
pure virtual
virtual void setPosition ( const CCPoint pos)
pure virtual
var setPosition ( var  pos)
pure virtual
local setPosition ( local  pos)
pure virtual
virtual void setReturnType ( 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
local visit (   )
pure virtual

Member Data Documentation

CCEditBoxDelegate* m_pDelegate
protected
var m_pDelegate
protected
local m_pDelegate
protected
CCEditBox* m_pEditBox
protected
var m_pEditBox
protected
local m_pEditBox
protected

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