cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCEditBoxDelegate Class Referenceabstract

NA NA. More...

#include <CCEditBox.h>

Public Member Functions

virtual ~CCEditBoxDelegate ()
 
virtual void editBoxEditingDidBegin (CCEditBox *editBox)
 This method is called when an edit box gains focus after keyboard is shown. More...
 
virtual void editBoxEditingDidEnd (CCEditBox *editBox)
 This method is called when an edit box loses focus after keyboard is hidden. More...
 
virtual void editBoxTextChanged (CCEditBox *editBox, const std::string &text)
 This method is called when the edit box text was changed. More...
 
virtual void editBoxReturn (CCEditBox *editBox)=0
 This method is called when the return button was pressed or the outside area of keyboard was touched. More...
 

Detailed Description

NA NA.

Constructor & Destructor Documentation

◆ ~CCEditBoxDelegate()

virtual ~CCEditBoxDelegate ( )
inlinevirtual

Member Function Documentation

◆ editBoxEditingDidBegin()

virtual void editBoxEditingDidBegin ( CCEditBox editBox)
inlinevirtual

This method is called when an edit box gains focus after keyboard is shown.

Parameters
editBoxThe edit box object that generated the event.

◆ editBoxEditingDidEnd()

virtual void editBoxEditingDidEnd ( CCEditBox editBox)
inlinevirtual

This method is called when an edit box loses focus after keyboard is hidden.

Parameters
editBoxThe edit box object that generated the event.

◆ editBoxReturn()

virtual void editBoxReturn ( CCEditBox editBox)
pure virtual

This method is called when the return button was pressed or the outside area of keyboard was touched.

Parameters
editBoxThe edit box object that generated the event.

◆ editBoxTextChanged()

virtual void editBoxTextChanged ( CCEditBox editBox,
const std::string &  text 
)
inlinevirtual

This method is called when the edit box text was changed.

Parameters
editBoxThe edit box object that generated the event.
textThe new text.

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