Focus event. More...
Inherits Event.
Public Member Functions | |
EventFocus (ui::Widget *widgetLoseFocus, ui::Widget *widgetGetFocus) | |
Constructor. More... | |
ctor ( var widgetLoseFocus, var widgetGetFocus) | |
Constructor. More... | |
EventFocus ( local widgetLoseFocus, local widgetGetFocus) | |
Constructor. More... | |
![]() | |
virtual | ~Event () |
Destructor. | |
var | ~Event () |
Destructor. | |
local | ~Event () |
Destructor. | |
Type | getType () const |
Gets the event type. More... | |
var | getType () |
Gets the event type. More... | |
local | getType () |
Gets the event type. More... | |
void | stopPropagation () |
Stops propagation for current event. | |
var | stopPropagation () |
Stops propagation for current event. | |
local | stopPropagation () |
Stops propagation for current event. | |
bool | isStopped () const |
Checks whether the event has been stopped. More... | |
var | isStopped () |
Checks whether the event has been stopped. More... | |
local | isStopped () |
Checks whether the event has been stopped. More... | |
Node * | getCurrentTarget () |
Gets current target of the event. More... | |
var | getCurrentTarget () |
Gets current target of the event. More... | |
local | getCurrentTarget () |
Gets current target of the event. More... | |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
local | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | Type |
Type Event type. More... | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
local | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
local | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
local | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
local | _rooted |
When true, it means that the object was already rooted. | |
![]() | |
Event (Type type) | |
Constructor. | |
Event ( var type) | |
Constructor. | |
Event ( local type) | |
Constructor. | |
Focus event.
EventFocus | ( | ui::Widget * | widgetLoseFocus, |
ui::Widget * | widgetGetFocus | ||
) |
Constructor.
widgetLoseFocus | The widget which lose focus. |
widgetGetFocus | The widget which get focus. |
var ctor | ( | var | widgetLoseFocus, |
var | widgetGetFocus | ||
) |
Constructor.
widgetLoseFocus | The widget which lose focus. |
widgetGetFocus | The widget which get focus. |
local EventFocus | ( | local | widgetLoseFocus, |
local | widgetGetFocus | ||
) |
Constructor.
widgetLoseFocus | The widget which lose focus. |
widgetGetFocus | The widget which get focus. |