Editbox delegate class. More...
Public Types | |
enum | EditBoxEndAction |
Reason for ending edit (for platforms where it is known) | |
Public Member Functions | |
virtual void | editBoxEditingDidBegin (EditBox *editBox) |
This method is called when an edit box gains focus after keyboard is shown. More... | |
virtual void | editBoxEditingDidEnd (EditBox *editBox) |
This method is called when an edit box loses focus after keyboard is hidden. More... | |
virtual void | editBoxTextChanged (EditBox *editBox, const std::string &text) |
This method is called when the edit box text was changed. More... | |
virtual void | editBoxReturn (EditBox *editBox)=0 |
This method is called when the return button was pressed or the outside area of keyboard was touched. More... | |
virtual void | editBoxEditingDidEndWithAction (EditBox *editBox, EditBoxEndAction action) |
This method is called when an edit box loses focus after keyboard is hidden. More... | |
Editbox delegate class.
It's useful when you want to do some customization during Editbox input event
|
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 an edit box loses focus after keyboard is hidden.
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. |