Packagecom.asterisq.graph.views
Classpublic class DelayedTreeGraphView
InheritanceDelayedTreeGraphView Inheritance SynchronizedGraphView Inheritance flash.events.EventDispatcher
ImplementsIGraphView

A time-delayed view consisting of a tree rooted at a single node. The selected node and its neighbors are displayed initially. After a delay, the next layer of neighbors is displayed. This repeats untils the tree up to the specified depth is displayed.



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.
DelayedTreeGraphView
 Inheritedmodel : IGraph
The model from which the contents of this view is calculated.
SynchronizedGraphView
  selectedNodeID : String
This view's currently selected node ID.
DelayedTreeGraphView
  startTreeDepth : int
The initial tree depth.
DelayedTreeGraphView
  treeDepth : int
This view's tree depth.
DelayedTreeGraphView
  treeDepthDelay : Number
The delay between increments to the tree depth.
DelayedTreeGraphView
 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 DelayedTreeView.
DelayedTreeGraphView
 Inherited
invalidate():void
Schedules the view for validation during the next render cycle.
SynchronizedGraphView
  
restart():void
Resets the tree depth to startTreeDepth and starts the delay timer.
DelayedTreeGraphView
 Inherited
validateNow():void
Immediately recalculates the view.
SynchronizedGraphView
Protected Methods
 MethodDefined by
  
validate():Boolean
Recalculates the contents of the view from the model data.
DelayedTreeGraphView
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
startTreeDepthproperty 
startTreeDepth:int  [read-write]

The initial tree depth.

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

This view's tree depth.

Implementation
    public function get treeDepth():int
    public function set treeDepth(value:int):void
treeDepthDelayproperty 
treeDepthDelay:Number  [read-write]

The delay between increments to the tree depth.

Implementation
    public function get treeDepthDelay():Number
    public function set treeDepthDelay(value:Number):void
Constructor detail
DelayedTreeGraphView()constructor
public function DelayedTreeGraphView()

Creates a new DelayedTreeView.

Method detail
restart()method
public function restart():void

Resets the tree depth to startTreeDepth and starts the delay timer.

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

Recalculates the contents of the view from the model data.

Returns
Boolean