Axmol Engine 2.4.0-258ceca
|
Editbox delegate class. More...
#include <UIEditBox.h>
Public Types | |
enum class | EditBoxEndAction |
Reason for ending edit (for platforms where it is known) | |
Public Member Functions | |
virtual void | editBoxEditingDidBegin (EditBox *) |
This method is called when an edit box gains focus after keyboard is shown. | |
virtual void | editBoxTextChanged (EditBox *, std::string_view) |
This method is called when the edit box text was changed. | |
virtual void | editBoxReturn (EditBox *editBox)=0 |
This method is called when the return button was pressed or the outside area of keyboard was touched. | |
virtual void | editBoxEditingDidEndWithAction (EditBox *, EditBoxEndAction) |
This method is called when an edit box loses focus after keyboard is hidden. | |
Editbox delegate class.
It's useful when you want to do some customization during Editbox input event
@js NA @lua NA
|
inlinevirtual |
This method is called when an edit box gains focus after keyboard is shown.
editBox | The edit box object that generated the event. |
|
inlinevirtual |
This method is called when the edit box text was changed.
editBox | The edit box object that generated the event. |
text | The new text. |
|
pure virtual |
This method is called when the return button was pressed or the outside area of keyboard was touched.
editBox | The edit box object that generated the event. |
|
inlinevirtual |
This method is called when an edit box loses focus after keyboard is hidden.
editBox | The edit box object that generated the event. |
type | The reason why editing ended. |