Package | spark.components.itemRenderers |
Interface | public 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. |
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 ).
Property | Defined 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 | ||
data : Object
The data to render or edit. | IDataRenderer |
canSetContentHeight | property |
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
public function get canSetContentHeight():Boolean
canSetContentWidth | property |
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
public function get canSetContentWidth():Boolean
cssStyleName | property |
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.
public function set cssStyleName(value:String):void