| Package | flare.vis.operator |
| Class | public class SortOperator |
| Inheritance | SortOperator Operator |
See also
| Property | Defined by | ||
|---|---|---|---|
| criteria : Array The sorting criteria.
| SortOperator | ||
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
| group : String The data group to sort.
| SortOperator | ||
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| Method | Defined by | ||
|---|---|---|---|
|
SortOperator(criteria:Array, group:String)
Creates a new SortOperator.
| SortOperator | ||
![]() |
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.
| SortOperator | ||
![]() |
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| Operator | |
| criteria | property |
criteria:Array [read-write] The sorting criteria. Sort criteria are expressed as an
array of property names to sort on. These properties are accessed
by sorting functions using the Property class.
The default is to sort in ascending order. If the field name
includes a "-" (negative sign) prefix, that variable will instead
be sorted in descending order.
public function get criteria():Array
public function set criteria(value:Array):void
| group | property |
public var group:StringThe data group to sort.
| SortOperator | () | constructor |
public function SortOperator(criteria:Array, group:String)Creates a new SortOperator.
Parameterscriteria:Array — the sorting criteria. Sort criteria are expressed as
an array of property names to sort on. These properties are
accessed by sorting functions using the Property
class. The default is to sort in ascending order. If the field name
includes a "-" (negative sign) prefix, that variable will instead
be sorted in descending order.
|
|
group:String — the data group to sort
|
| operate | () | method |
public override 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.
|