nx.Object Class
The base of any Classes defined in nx framework.
Constructor
nx.Object
()
Item Index
Methods
can
(
Boolean
-
name
Check whether current object has specified event.
Parameters:
-
name
String
Returns:
destroy
()
Destroy current object.
dispose
()
Dispose current object.
extendEvent
(
static
-
target
-
name
Define an event and attach to target.
extendMethod
(
static
-
target
-
name
-
method
Define a method and attach to target.
extendProperty
(
static
-
target
-
name
-
meta
Define a property and attach to target.
has
(
Boolean
-
name
Check whether current object has specified property.
Parameters:
-
name
String
Returns:
inherited
()
Call overridden method from super class
off
(
-
name
-
[handler]
-
[context]
Remove an event handler.
on
(
-
name
-
handler
-
[context]
Add an event handler.