| Package | flare.vis.operator.encoder |
| Class | public class ShapeEncoder |
| Inheritance | ShapeEncoder Encoder Operator |
flare.palette.ShapePalette and
flare.data.render.ShapeRenderer classes for more.
| Property | Defined by | ||
|---|---|---|---|
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
![]() | filter : Function Boolean function indicating which items to process.
| Encoder | |
![]() | group : String The name of the data group for which to compute the encoding.
| Encoder | |
| palette : Palette
The palette used to map scale values to visual values.
| ShapeEncoder | ||
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
![]() | scale : ScaleBinding
A scale binding to the source data.
| Encoder | |
| shapes : ShapePalette
The palette as a ShapePalette instance.
| ShapeEncoder | ||
![]() | source : String The source property.
| Encoder | |
![]() | target : String The target property.
| Encoder | |
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| Method | Defined by | ||
|---|---|---|---|
|
ShapeEncoder(field:String = null, group:String, palette:ShapePalette = null)
Creates a new ShapeEncoder.
| ShapeEncoder | ||
![]() |
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.
| Encoder | |
![]() |
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| Encoder | |
| Method | Defined by | ||
|---|---|---|---|
|
encode(val:Object):*
Computes an encoding for the input value.
| ShapeEncoder | ||
| palette | property |
palette:Palette [read-write]The palette used to map scale values to visual values.
Implementation public function get palette():Palette
public function set palette(value:Palette):void
| shapes | property |
shapes:ShapePalette [read-write]The palette as a ShapePalette instance.
Implementation public function get shapes():ShapePalette
public function set shapes(value:ShapePalette):void
| ShapeEncoder | () | constructor |
public function ShapeEncoder(field:String = null, group:String, palette:ShapePalette = null)Creates a new ShapeEncoder.
Parametersfield:String (default = null) — the source property
|
|
group:String — the data group to process
|
|
palette:ShapePalette (default = null) — the shape palette for assigning shapes
|
| encode | () | method |
protected override function encode(val:Object):*Computes an encoding for the input value.
Parametersval:Object — a data value to encode
|
* — the encoded visual value
|