Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
IMobileGridCellRenderer

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.

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
Hide Inherited Public Properties
Show Inherited Public Properties

| 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

Property Detail

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

Implementation
`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

Implementation
`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.

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

Wed Nov 15 2017, 09:50 AM +01:00