| Package | com.asterisq.graph.views |
| Class | public class TreeGraphView |
| Inheritance | TreeGraphView SynchronizedGraphView flash.events.EventDispatcher |
| Implements | IGraphView |
| Property | Defined by | ||
|---|---|---|---|
![]() | automaticViewInvalidation : 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 | ||
![]() | model : 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 | ||
![]() | view : IGraph
The calculated contents of this view.
| SynchronizedGraphView | |
![]() | viewInvalid : Boolean
Indicates whether the view is currently invalid.
| SynchronizedGraphView | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new TreeGraphView.
| TreeGraphView | ||
![]() |
invalidate():void
Schedules the view for validation during the next render cycle.
| SynchronizedGraphView | |
![]() |
validateNow():void
Immediately recalculates the view.
| SynchronizedGraphView | |
| Method | Defined by | ||
|---|---|---|---|
|
validate():Boolean
Recalculates the contents of the view from the model data.
| TreeGraphView | ||
| depthPropertyName | property |
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
| selectedNodeID | property |
selectedNodeID:String [read-write]This view's currently selected node ID.
Implementation public function get selectedNodeID():String
public function set selectedNodeID(value:String):void
| treeDepth | property |
treeDepth:int [read-write]This view's tree depth.
Implementation public function get treeDepth():int
public function set treeDepth(value:int):void
| TreeGraphView | () | constructor |
public function TreeGraphView()Creates a new TreeGraphView.
| validate | () | method |
protected override function validate():BooleanRecalculates the contents of the view from the model data.
ReturnsBoolean |