Package | com.yworks.ui.tree |
Class | public class TreeGroupNode |
Inheritance | TreeGroupNode TreeNode Object |
HierarchyTreeView
.
The mx.controls.Tree
recognizes this TreeNode
as a folder
by its children
property.
Property | Defined By | ||
---|---|---|---|
children : ArrayCollection [read-only]
A list with this nodes children (as TreeNodes). | TreeGroupNode | ||
item : INode [read-only]
The node which is represented by this TreeNode
| TreeNode | ||
textProvider : Function
A function which will return a String representation to
be displayed in the Tree. | TreeNode |
Method | Defined By | ||
---|---|---|---|
Creates an instance with the given node. | TreeGroupNode | ||
toString():String
Returns a String representation of this TreeNode. | TreeNode |
children | property |
children:ArrayCollection
[read-only]
A list with this nodes children (as TreeNode
s).
public function get children():ArrayCollection
TreeGroupNode | () | Constructor |
public function TreeGroupNode(item:INode, model:INodeHierarchy, textProvider:Function = null)
Creates an instance with the given node. Creates also a valid data provider for its child nodes.
Parametersitem:INode — The node which is represented by this TreeNode
| |
model:INodeHierarchy — The INodeHierarchy instance the item belongs to.
| |
textProvider:Function (default = null ) — A textProvider to which toString() will delegate.
|