Packagecom.asterisq.graph.views
Classpublic class TreeGraphView
InheritanceTreeGraphView Inheritance SynchronizedGraphView Inheritance flash.events.EventDispatcher
ImplementsIGraphView

A view consisting of a tree rooted at a single node.



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.
TreeGraphView
 Inheritedmodel : IGraph
The model from which the contents of this view is calculated.
SynchronizedGraphView
  selectedNodeID : String
This view's currently selected node ID.
TreeGraphView
  treeDepth : int
This view's tree depth.
TreeGraphView
 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 TreeGraphView.
TreeGraphView
 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.
TreeGraphView
Property detail
depthPropertyNameproperty
depthPropertyName:String  [read-write]

The name of the node data property that will store the node's depth.

Implementation
    public function get depthPropertyName():String
    public function set depthPropertyName(value:String):void
selectedNodeIDproperty 
selectedNodeID:String  [read-write]

This view's currently selected node ID.

Implementation
    public function get selectedNodeID():String
    public function set selectedNodeID(value:String):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
TreeGraphView()constructor
public function TreeGraphView()

Creates a new TreeGraphView.

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

Recalculates the contents of the view from the model data.

Returns
Boolean