Packagecom.asterisq.graph.views
Classpublic class MultiTreeGraphView
InheritanceMultiTreeGraphView Inheritance SynchronizedGraphView Inheritance flash.events.EventDispatcher
ImplementsIGraphView

A view consisting of trees rooted at multiple nodes.



Public Properties
 PropertyDefined by
 InheritedautomaticViewInvalidation : Boolean
Indicates whether the view is automatically invalidated when the model changes.
SynchronizedGraphView
  depthPropertyName : String
The name of the node data property that will store the node's depth.
MultiTreeGraphView
 Inheritedmodel : IGraph
The model from which the contents of this view is calculated.
SynchronizedGraphView
  rootNodeIDs : ArrayCollection
The IDs of the root nodes in the view.
MultiTreeGraphView
  treeDepth : int
This view's tree depth.
MultiTreeGraphView
 Inheritedview : IGraph
The calculated contents of this view.
SynchronizedGraphView
 InheritedviewInvalid : Boolean
Indicates whether the view is currently invalid.
SynchronizedGraphView
Public Methods
 MethodDefined by
  
Creates a new MultiTreeGraphView.
MultiTreeGraphView
 Inherited
invalidate():void
Schedules the view for validation during the next render cycle.
SynchronizedGraphView
 Inherited
validateNow():void
Immediately recalculates the view.
SynchronizedGraphView
Protected Methods
 MethodDefined by
  
validate():Boolean
Recalculates the contents of the view from the model data.
MultiTreeGraphView
Property detail
depthPropertyNameproperty
depthPropertyName:String  [read-write]

The name of the node data property that will store the node's depth. If set, each node's data object will have a property with this name which contains the depth of that node in its tree.

Implementation
    public function get depthPropertyName():String
    public function set depthPropertyName(value:String):void
rootNodeIDsproperty 
rootNodeIDs:ArrayCollection  [read-write]

The IDs of the root nodes in the view.

Implementation
    public function get rootNodeIDs():ArrayCollection
    public function set rootNodeIDs(value:ArrayCollection):void
treeDepthproperty 
treeDepth:int  [read-write]

This view's tree depth.

Implementation
    public function get treeDepth():int
    public function set treeDepth(value:int):void
Constructor detail
MultiTreeGraphView()constructor
public function MultiTreeGraphView()

Creates a new MultiTreeGraphView.

Method detail
validate()method
protected override function validate():Boolean

Recalculates the contents of the view from the model data.

Returns
Boolean