| Package | com.asterisq.graph.views |
| Class | public class CustomFilterGraphView |
| Inheritance | CustomFilterGraphView SynchronizedGraphView flash.events.EventDispatcher |
| Implements | IGraphView |
| Property | Defined by | ||
|---|---|---|---|
![]() | automaticViewInvalidation : Boolean
Indicates whether the view is automatically invalidated when the model changes.
| SynchronizedGraphView | |
| edgeFilterFunction : Function
The function used to filter edges.
| CustomFilterGraphView | ||
![]() | model : IGraph
The model from which the contents of this view is calculated.
| SynchronizedGraphView | |
| nodeFilterFunction : Function
The function used to filter nodes.
| CustomFilterGraphView | ||
![]() | 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 GraphView.
| CustomFilterGraphView | ||
![]() |
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.
| CustomFilterGraphView | ||
| edgeFilterFunction | property |
edgeFilterFunction:Function [read-write]The function used to filter edges. It should take an IEdge as its only parameter and return a boolean. A return value of true indicates the edge should be included in the view. A value of false will cause it to be discarded.
Implementation public function get edgeFilterFunction():Function
public function set edgeFilterFunction(value:Function):void
| nodeFilterFunction | property |
nodeFilterFunction:Function [read-write]The function used to filter nodes. It should take an INode as its only parameter and return a boolean. A return value of true indicates the node should be included in the view. A value of false will cause it to be discarded.
Implementation public function get nodeFilterFunction():Function
public function set nodeFilterFunction(value:Function):void
| CustomFilterGraphView | () | constructor |
public function CustomFilterGraphView()Creates a new GraphView.
| validate | () | method |
protected override function validate():BooleanRecalculates the contents of the view from the model data.
ReturnsBoolean |