class NodeBase
view source
extends EventListener
extends EventListener
Memory implementation of an AUI Node. Reflects the state of the AUI node in the DVM.
Constructor
new NodeBase(parent : NodeBase, tag : string|nodeInfo, id : number|VMApplication, attributes : Object, app : VMApplication)
Parameters
parent | NodeBase | parent node |
tag | string|nodeInfo | tag name (WINDOW, GROUP, MENU, etc...) or an object containing type, id, attributes |
id | number|VMApplication | id |
attributes | Object | attributes list |
app | VMApplication | application |
Instance members
emit(type : string, arguments… : any)
[inherits from EventListener]
getApplication()
: (VMApplication)
get owning application
Returns
getParentNode()
: (NodeBase)
get parent node
Returns
getWidget()
: (WidgetBase)
Gets the node's widget
Returns
isDestroyed()
: (boolean)
[inherits from EventListener]
Returns if the node is destroyed