| Package | flare.vis.operator |
| Class | public class OperatorList |
| Inheritance | OperatorList flash.utils.Proxy |
| Implements | IOperator |
| Subclasses | OperatorSequence, OperatorSwitch |
add method. Once added, operators can be
retrieved and set using their index in the lists, either with array
notation ([]) or with the getOperatorAt and
setOperatorAt methods.
| Property | Defined by | ||
|---|---|---|---|
| enabled : Boolean Indicates if the operator is enabled or disabled.
| OperatorList | ||
| first : Object [read-only] Returns the first operator in the list.
| OperatorList | ||
| last : Object [read-only] Returns the last operator in the list.
| OperatorList | ||
| length : uint [read-only] The number of operators in the list.
| OperatorList | ||
| list : Array [write-only] An array of the operators contained in the operator list.
| OperatorList | ||
| parameters : Object [write-only]
Sets parameter values for this operator.
| OperatorList | ||
| visualization : Visualization
The visualization processed by this operator.
| OperatorList | ||
| Property | Defined by | ||
|---|---|---|---|
| _enabled : Boolean = true | OperatorList | ||
| _list : Array | OperatorList | ||
| _vis : Visualization | OperatorList | ||
| Method | Defined by | ||
|---|---|---|---|
|
OperatorList(... ops)
Creates a new OperatorList.
| OperatorList | ||
|
Adds an operator to the end of this list.
| OperatorList | ||
|
clear():void
Removes all operators from this list.
| OperatorList | ||
|
getOperatorAt(i:uint):IOperator
Returns the operator at the specified position in the list
| OperatorList | ||
|
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
| OperatorList | ||
|
Removes an operator from this list.
| OperatorList | ||
|
removeOperatorAt(i:uint):IOperator
Removes the operator at the specified position in the list
| OperatorList | ||
|
Set the operator at the specified position in the list
| OperatorList | ||
|
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| OperatorList | ||
| Method | Defined by | ||
|---|---|---|---|
|
getProperty(name:*):*
Proxy method for retrieving operators from the internal array.
| OperatorList | ||
|
setProperty(name:*, value:*):void
Proxy method for setting operators in the internal array.
| OperatorList | ||
| _enabled | property |
protected var _enabled:Boolean = true
| enabled | property |
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
| first | property |
first:Object [read-only]Returns the first operator in the list.
Implementation public function get first():Object
| last | property |
last:Object [read-only]Returns the last operator in the list.
Implementation public function get last():Object
| length | property |
length:uint [read-only]The number of operators in the list.
Implementation public function get length():uint
| _list | property |
protected var _list:Array
| list | property |
list:Array [write-only]An array of the operators contained in the operator list.
Implementation public function set list(value:Array):void
| parameters | property |
parameters:Object [write-only]Sets parameter values for this operator.
Implementation public function set parameters(value:Object):void
| _vis | property |
protected var _vis:Visualization
| visualization | property |
visualization:Visualization [read-write]The visualization processed by this operator.
Implementation public function get visualization():Visualization
public function set visualization(value:Visualization):void
| OperatorList | () | constructor |
public function OperatorList(... ops)Creates a new OperatorList.
Parameters... ops — an ordered set of operators to include in the list.
|
| add | () | method |
public function add(op:IOperator):voidAdds an operator to the end of this list.
Parametersop:IOperator — the operator to add
|
| clear | () | method |
public function clear():voidRemoves all operators from this list.
| getOperatorAt | () | method |
public function getOperatorAt(i:uint):IOperatorReturns the operator at the specified position in the list
Parametersi:uint — the index into the operator list
|
IOperator —
the requested operator
|
| getProperty | () | method |
flash_proxy override function getProperty(name:*):*Proxy method for retrieving operators from the internal array.
Parametersname:* |
* |
| operate | () | method |
public function operate(t:Transitioner = null):voidPerforms an operation over the contents of a visualization.
Parameterst:Transitioner (default = null) — a Transitioner instance for collecting value updates.
|
| remove | () | method |
public function remove(op:IOperator):BooleanRemoves an operator from this list.
Parametersop:IOperator — the operator to remove
|
Boolean — true if the operator was found and removed, false otherwise
|
| removeOperatorAt | () | method |
public function removeOperatorAt(i:uint):IOperatorRemoves the operator at the specified position in the list
Parametersi:uint — the index into the operator list
|
IOperator —
the removed operator
|
| setOperatorAt | () | method |
public function setOperatorAt(i:uint, op:IOperator):IOperatorSet the operator at the specified position in the list
Parametersi:uint — the index into the operator list
|
|
op:IOperator — the operator to place in the list
|
IOperator —
the operator previously at the index
|
| setProperty | () | method |
flash_proxy override function setProperty(name:*, value:*):voidProxy method for setting operators in the internal array.
Parametersname:* |
|
value:* |
| setup | () | method |
public function setup():voidSetup method invoked whenever this operator's visualization property is set.