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

Package | spark.components.itemRenderers
Interface | public interface IMobileGridTextCellRenderer extends IMobileGridCellRenderer, IDataRenderer
Implementors | MobileGridTextCellRenderer

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.

Extends IMobileGridCellRenderers with APIs for rendering text in MobileGrid cells.

Typically , implementors will set the text to render using labelField and/or labelFunction this way:

`text = UIComponentUtils.itemToLabel(value, _labelField, _labelFunction);`

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
|  | labelField : String [write-only] Implement this property so that the renderer can receive the dataField from its MobileGridColumn. | IMobileGridTextCellRenderer
|  | labelFunction : Function [write-only] Implement this property so that the renderer can receive the labelFunction its MobileGridColumn | IMobileGridTextCellRenderer
|  | textAlign : String [write-only] Implement this property so that the renderer can receive the textAlign property from the renderers' MobileGridColumn | IMobileGridTextCellRenderer

Property Detail

labelField | property

`labelField:String` [write-only]

Implement this property so that the renderer can receive the dataField from its MobileGridColumn.

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

See also

spark.components.supportClasses.MobileGridColumn.labelField

labelFunction | property |

`labelFunction:Function` [write-only]

Implement this property so that the renderer can receive the labelFunction its MobileGridColumn

Implementation
`public function set labelFunction(value:Function):void`

See also

spark.components.supportClasses.MobileGridColumn.labelFunction

textAlign | property |

`textAlign:String` [write-only]

Implement this property so that the renderer can receive the textAlign property from the renderers' MobileGridColumn

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

See also

spark.components.supportClasses.MobileGridColumn.textAlign

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