Packagespark.components.itemRenderers
Interfacepublic interface IMobileGridCellRenderer extends IDataRenderer
Implementors MobileGridBitmapCellRenderer

Language Version : ActionScript 3.0
Product Version : Flex 4.11
Runtime Versions : AIR 3.8

This class is experimental, which means it has not been tested or documented as thoroughly as other core Apache Flex classes.

This is the base interface that all mobile grid cell renderers must implement.

Contrary to desktop DataGrid control, there is no default implementation for this interface, because mobile renderers must be lightweight, and derive directly for an existing component, (eg.. s:Button or s:CheckBox ).



Public Properties
 PropertyDefined By
  canSetContentHeight : Boolean
[read-only] Flag indicating whether the layout manager can stretch the height of this renderer to match the column's height.
IMobileGridCellRenderer
  canSetContentWidth : Boolean
[read-only] Flag indicating whether the layout manager can stretch the width of this renderer to match the column's width.
IMobileGridCellRenderer
  cssStyleName : String
[write-only] this property is set with the GridColumn's styleName property.
IMobileGridCellRenderer
 Inheriteddata : Object
The data to render or edit.
IDataRenderer
Property Detail
canSetContentHeightproperty
canSetContentHeight:Boolean  [read-only]

Flag indicating whether the layout manager can stretch the height of this renderer to match the column's height.

default value is false. Override the getter to return a difference value


Implementation
    public function get canSetContentHeight():Boolean
canSetContentWidthproperty 
canSetContentWidth:Boolean  [read-only]

Flag indicating whether the layout manager can stretch the width of this renderer to match the column's width.

default value is false. Override the getter to return a difference value


Implementation
    public function get canSetContentWidth():Boolean
cssStyleNameproperty 
cssStyleName:String  [write-only]

this property is set with the GridColumn's styleName property.

you can override it to extract information from the style and pass them to this renderer.


Implementation
    public function set cssStyleName(value:String):void