Packagefr.kapit.pictogram.managers
Classpublic class PictogramManager
InheritancePictogramManager Inheritance Object

Helper class used to manage the PictogramCell updates and visual modifications.

See also

fr.kapit.pictogram.base.PictogramCell


Public Properties
 PropertyDefined By
  layoutChanged : Boolean
Flag indicating that cell units layout must be updated according to Pictogram properties.
PictogramManager
  percentageChanged : Boolean
Flag indicating that percentage values should be updated and visually applied.
PictogramManager
  pictogramChartCell : PictogramCell
Cell associated to this manager.
PictogramManager
  rendererChanged : Boolean
Flag indicating that units should be re-created with the right renderer at update() method call time.
PictogramManager
  unitStyleChanged : Boolean
Flag indicating that cell units styles should be updated at update() method call time.
PictogramManager
Public Methods
 MethodDefined By
  
update():void
Updates the associated cell according to the internal flags.
PictogramManager
  
Updates cell unitsGrid skin part layout.
PictogramManager
  
Updates internal parameters.
PictogramManager
  
Updates units percentage property value according to the overall cell percentage value.
PictogramManager
  
Creates, adds and updates units in the cell unitsGrid skin part.
PictogramManager
  
Updates units style.
PictogramManager
Property Detail
layoutChangedproperty
layoutChanged:Boolean

Flag indicating that cell units layout must be updated according to Pictogram properties. at update() method call time.


Implementation
    public function get layoutChanged():Boolean
    public function set layoutChanged(value:Boolean):void
percentageChangedproperty 
percentageChanged:Boolean

Flag indicating that percentage values should be updated and visually applied. at update() method call time.


Implementation
    public function get percentageChanged():Boolean
    public function set percentageChanged(value:Boolean):void
pictogramChartCellproperty 
pictogramChartCell:PictogramCell

Cell associated to this manager.


Implementation
    public function get pictogramChartCell():PictogramCell
    public function set pictogramChartCell(value:PictogramCell):void
rendererChangedproperty 
rendererChanged:Boolean

Flag indicating that units should be re-created with the right renderer at update() method call time.


Implementation
    public function get rendererChanged():Boolean
    public function set rendererChanged(value:Boolean):void
unitStyleChangedproperty 
unitStyleChanged:Boolean

Flag indicating that cell units styles should be updated at update() method call time.


Implementation
    public function get unitStyleChanged():Boolean
    public function set unitStyleChanged(value:Boolean):void
Method Detail
update()method
public function update():void

Updates the associated cell according to the internal flags.

updateLayout()method 
public function updateLayout():void

Updates cell unitsGrid skin part layout. If the skin part has a basic layout associated with, an internal layout directive is performed.

updateParams()method 
public function updateParams():void

Updates internal parameters. It is called at each overall update operation.

updatePercentage()method 
public function updatePercentage():void

Updates units percentage property value according to the overall cell percentage value.

updateRenderer()method 
public function updateRenderer():void

Creates, adds and updates units in the cell unitsGrid skin part.

updateUnitStyles()method 
public function updateUnitStyles():void

Updates units style. The minWidth and minHeight of each unit despite if it is a PictogramDefaultItemRenderer or not is computed and assigned. Unless, operations are only performed on PictogramDefaultItemRenderer instances.