Axmol Engine 2.4.0-258ceca
|
Focus event. More...
#include <EventFocus.h>
Inherits Event.
Public Member Functions | |
EventFocus (ui::Widget *widgetLoseFocus, ui::Widget *widgetGetFocus) | |
Constructor. | |
![]() | |
Event (Type type) | |
Constructor. | |
virtual | ~Event () |
Destructor. | |
Type | getType () const |
Gets the event type. | |
void | stopPropagation () |
Stops propagation for current event. | |
bool | isStopped () const |
Checks whether the event has been stopped. | |
Node * | getCurrentTarget () |
Gets current target of the event. | |
![]() | |
void | retain () |
Retains the ownership. | |
void | release () |
Releases the ownership immediately. | |
Object * | autorelease () |
Releases the ownership sometime soon automatically. | |
unsigned int | getReferenceCount () const |
Returns the Object's current reference count. | |
virtual | ~Object () |
Destructor. | |
Additional Inherited Members | |
![]() | |
enum class | Type |
Type Event type. | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
Focus event.
EventFocus | ( | ui::Widget * | widgetLoseFocus, |
ui::Widget * | widgetGetFocus ) |
Constructor.
widgetLoseFocus | The widget which lose focus. |
widgetGetFocus | The widget which get focus. @js ctor |