Packageflare.vis.operator
Classpublic class Operator
ImplementsIOperator
SubclassesAspectRatioBanker, BetweennessCentrality, BundledEdgeRouter, Encoder, FisheyeTreeFilter, GraphDistanceFilter, HierarchicalCluster, Labeler, Layout, LinkDistance, MaxFlowMinCut, PropertyEncoder, ShortestPaths, SortOperator, VisibilityFilter

Operators performs processing tasks on the contents of a Visualization. These tasks include layout, and color, shape, and size encoding. Custom operators can be defined by subclassing this class.



Public Properties
 PropertyDefined by
  enabled : Boolean
Indicates if the operator is enabled or disabled.
Operator
  parameters : Object
[write-only] Sets parameter values for this operator.
Operator
  visualization : Visualization
The visualization processed by this operator.
Operator
Public Methods
 MethodDefined by
  
applyParameters(op:IOperator, params:Object):void
[static] Static method that applies parameter settings to an operator.
Operator
  
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
Operator
  
setup():void
Setup method invoked whenever this operator's visualization property is set.
Operator
Property detail
enabledproperty
enabled:Boolean  [read-write]

Indicates if the operator is enabled or disabled.

Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
parametersproperty 
parameters:Object  [write-only]

Sets parameter values for this operator.

Implementation
    public function set parameters(value:Object):void
visualizationproperty 
visualization:Visualization  [read-write]

The visualization processed by this operator.

Implementation
    public function get visualization():Visualization
    public function set visualization(value:Visualization):void
Method detail
applyParameters()method
public static function applyParameters(op:IOperator, params:Object):void

Static method that applies parameter settings to an operator.

Parameters
op:IOperator — the operator
 
params:Object — the parameter object
operate()method 
public function operate(t:Transitioner = null):void

Performs an operation over the contents of a visualization.

Parameters
t:Transitioner (default = null) — a Transitioner instance for collecting value updates.
setup()method 
public function setup():void

Setup method invoked whenever this operator's visualization property is set.