The node class is the base of the tree, a node is an item in the tree, with it's children
protected var children:Array
data:Object [write-only]Implementation
public function set data(value:Object):void
dragEnabled:Boolean [read-write]
Makes dragrules per node possible. Set this to false in the itemrenderer to prevent this specific node being dragged.
Implementation
public function get dragEnabled():Boolean
public function set dragEnabled(value:Boolean):void
itemIcon:* [read-only]
You can call this function from your renderer to get the correct icon
Implementation
public function get itemIcon():*
itemLabel:String [read-only]
You can call this function from your renderer to get the correct label
Implementation
public function get itemLabel():String
public var __itemRenderer:*
open:Boolean [read-write]
This property can be used as the source for data binding.
Implementation
public function get open():Boolean
public function set open(value:Boolean):void
parentNode:Node [read-write]
Returns the parent node
Implementation
public function get parentNode():Node
public function set parentNode(value:Node):void
selected:Boolean [read-write]
Selects or deselects the node.
Implementation
public function get selected():Boolean
public function set selected(value:Boolean):void
public function Node(fntree:FlpTree = null)Parameters
protected function _dragBoxEnterHandler(event:DragEvent):void
Gets called when dragging over the childrenBox
Parameters
protected function _dragEnterHandler(event:DragEvent):void
This method is called when the user drags a node over (the renderer of) this node
Parameters
protected function addNode(node:Node, index:Number = -1):voidParameters
| node:Node |
| |
| index:Number (default = -1) |
protected override function commitProperties():void
protected override function createChildren():void
public function dispose():void
protected function disposeChildren():void
protected function forceCommit():void
public function refresh(recursive:Boolean = true):voidParameters
| recursive:Boolean (default = true) |
protected function removeNode(index:Number):voidParameters