Packagefr.kapit.pictogram.renderers
Classpublic class PictogramDefaultItemRenderer
InheritancePictogramDefaultItemRenderer Inheritance mx.core.UIComponent
Implements IPictogramUnit

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Default unit item renderer used to feed the unitsGrid skin part of any cell.



Public Properties
 PropertyDefined By
  backgroundAlphas : Array
Background alphas.
PictogramDefaultItemRenderer
  backgroundColors : Array
Background colors.
PictogramDefaultItemRenderer
  fillDirection : String
Indicating the adequate fill direction.
PictogramDefaultItemRenderer
  lineAlpha : Number
Line alpha.
PictogramDefaultItemRenderer
  lineColor : uint
Line color.
PictogramDefaultItemRenderer
  lineThickness : uint
Line thickness.
PictogramDefaultItemRenderer
  percentage : Number
[write-only] Percentage value of a cell unit.
PictogramDefaultItemRenderer
  roundRadius : uint
Rectangle background Round Radius.
PictogramDefaultItemRenderer
  useAlphaCoding : Boolean
If true, the percentage value is coded in the alpha value of this unit.
PictogramDefaultItemRenderer
Public Methods
 MethodDefined By
  
Constructor.
PictogramDefaultItemRenderer
Protected Methods
 MethodDefined By
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
PictogramDefaultItemRenderer
Property Detail
backgroundAlphasproperty
backgroundAlphas:Array

Background alphas.

The default value is [1,1].


Implementation
    public function get backgroundAlphas():Array
    public function set backgroundAlphas(value:Array):void
backgroundColorsproperty 
backgroundColors:Array

Background colors.

The default value is [0x2385C4,0x1B66AF].


Implementation
    public function get backgroundColors():Array
    public function set backgroundColors(value:Array):void
fillDirectionproperty 
fillDirection:String

Indicating the adequate fill direction. This value is equal to the unitFillPolicy in the Pictogram component and should be specified according to the layout in each units grid of a given cell.


Implementation
    public function get fillDirection():String
    public function set fillDirection(value:String):void
lineAlphaproperty 
lineAlpha:Number

Line alpha.

The default value is 0.4.


Implementation
    public function get lineAlpha():Number
    public function set lineAlpha(value:Number):void
lineColorproperty 
lineColor:uint

Line color.

The default value is 0x2385C4.


Implementation
    public function get lineColor():uint
    public function set lineColor(value:uint):void
lineThicknessproperty 
lineThickness:uint

Line thickness.

The default value is 2.


Implementation
    public function get lineThickness():uint
    public function set lineThickness(value:uint):void
percentageproperty 
percentage:Number  [write-only]

Percentage value of a cell unit. The value is injected from the PictogramCell and is bounded between 0 and 1. The Visual coding of this value is supported by the item renderer implementing this interface.


Implementation
    public function set percentage(value:Number):void
roundRadiusproperty 
roundRadius:uint

Rectangle background Round Radius.

The default value is 0.4.


Implementation
    public function get roundRadius():uint
    public function set roundRadius(value:uint):void
useAlphaCodingproperty 
useAlphaCoding:Boolean

If true, the percentage value is coded in the alpha value of this unit.


Implementation
    public function get useAlphaCoding():Boolean
    public function set useAlphaCoding(value:Boolean):void
Constructor Detail
PictogramDefaultItemRenderer()Constructor
public function PictogramDefaultItemRenderer()

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Constructor.

Method Detail
updateDisplayList()method
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number