Packagespark.components.itemRenderers
Interfacepublic 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
 PropertyDefined By
 InheritedcanSetContentHeight : Boolean
[read-only] Flag indicating whether the layout manager can stretch the height of this renderer to match the column's height.
IMobileGridCellRenderer
 InheritedcanSetContentWidth : Boolean
[read-only] Flag indicating whether the layout manager can stretch the width of this renderer to match the column's width.
IMobileGridCellRenderer
 InheritedcssStyleName : String
[write-only] this property is set with the GridColumn's styleName property.
IMobileGridCellRenderer
 Inheriteddata : 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
labelFieldproperty
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

labelFunctionproperty 
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

textAlignproperty 
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