====== JNode [WIP] ====== {#JAPI Joomla.Framework Base JNode #} Abstract Tree Node Class. This class is used by [[JTree]] to create a hierarchy of objects similar to the HTML or XML DOM. The Joomla! menu modules are built on this foundation. ===== Methods ===== ^ Method ^ Description ^ | {{references:Constructor.png?nolink}} [[JNode-__construct|__construct]] | Class constructor, overridden in descendant classes. | | {{references:Method.png?nolink}} [[JNode-addChild|addChild]] | Adds a new child node object to the current object. | | {{references:Method.png?nolink}} [[JNode-getChildren|getChildren]] | Returns all child nodes of the current object. | | {{references:Method.png?nolink}} [[JNode-getParent|getParent]] | Returns the parent node of the current object. | | {{references:Method.png?nolink}} [[JNode-hasChildren|hasChildren]] | Tests whether the object has child nodes. | | {{references:Method.png?nolink}} [[JNode-setParent|setParent]] | Assigns a new parent node to the current object. | ---- ~~DISCUSSION~~