| Package | spark.components.itemRenderers |
| Class | public class MobileGridTextCellRenderer |
| Inheritance | MobileGridTextCellRenderer StyleableTextField FlexTextField flash.text.TextField |
| Implements | IMobileGridTextCellRenderer |
| 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. |
You don't have to use this render explicitly as it will be used by default for MobileGrid text cells.
| 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. | MobileGridTextCellRenderer | ||
| canSetContentWidth : Boolean [read-only]
Flag indicating whether the layout manager can stretch the width of this renderer to match the column's width. | MobileGridTextCellRenderer | ||
| cssStyleName : String [write-only]
this property is set with the GridColumn's styleName property. | MobileGridTextCellRenderer | ||
| data : Object
The data to render or edit. | MobileGridTextCellRenderer | ||
![]() |
Specifies whether the text is editable, true,
or not, false. | StyleableTextField | |
![]() |
Whether the component can accept user interaction. | StyleableTextField | |
![]() |
Indicates whether the component can receive focus when tabbed to. | StyleableTextField | |
![]() |
The horizontal scroll position of the text. | StyleableTextField | |
![]() | [read-only]
Indicates whether the text has been truncated, true,
or not, false. | StyleableTextField | |
| labelField : String [write-only]
Implement this property so that the renderer can receive the dataField from its MobileGridColumn. | MobileGridTextCellRenderer | ||
| labelFunction : Function [write-only]
Implement this property so that the renderer can receive the labelFunction its MobileGridColumn
| MobileGridTextCellRenderer | ||
![]() |
Controls word wrapping within the text. | StyleableTextField | |
![]() |
The minimum recommended height of the component to be considered
by the parent during layout. | StyleableTextField | |
![]() |
The minimum recommended width of the component to be considered
by the parent during layout. | StyleableTextField | |
![]() | [read-only]
The active, or last clicked position, of the selection. | StyleableTextField | |
![]() | [read-only]
The anchor, or first clicked position, of the selection. | StyleableTextField | |
![]() |
Storage for the inline inheriting styles on this object. | StyleableTextField | |
![]() |
The class style used by this component. | StyleableTextField | |
| styleProvider : IStyleClient [write-only]
| MobileGridTextCellRenderer | ||
![]() | [override]
The text displayed by this text component. | StyleableTextField | |
| textAlign : String [write-only]
Implement this property so that the renderer can receive the textAlign property from the renderers' MobileGridColumn
| MobileGridTextCellRenderer | ||
![]() |
The vertical scroll position of the text. | StyleableTextField | |
| Method | Defined By | ||
|---|---|---|---|
| MobileGridTextCellRenderer | |||
![]() | [override]
Appends the specified text to the end of the text component,
as if you had clicked at the end and typed. | StyleableTextField | |
![]() |
Commit the styles into the TextField. | StyleableTextField | |
![]() |
Gets a style property that has been set anywhere in this
component's style lookup chain. | StyleableTextField | |
![]() |
Inserts the specified text into the text component
as if you had typed it. | StyleableTextField | |
![]() |
Scroll so the specified range is in view. | StyleableTextField | |
![]() |
Selects all of the text. | StyleableTextField | |
![]() |
Selects a specified range of characters. | StyleableTextField | |
![]() |
Set focus to this text field. | StyleableTextField | |
![]() |
Sets a style property on this component instance. | StyleableTextField | |
![]() |
Detects changes to style properties. | StyleableTextField | |
![]() | toString():String [override]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexTextField | |
![]() |
Truncate text to make it fit horizontally in the area defined for the control,
and append an ellipsis, three periods (...), to the text. | StyleableTextField | |
| 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| data | property |
data:ObjectThe data to render or edit.
public function get data():Object public function set data(value:Object):void| labelField | property |
labelField:String [write-only] Implement this property so that the renderer can receive the dataField from its MobileGridColumn.
public function set labelField(value:String):void| labelFunction | property |
labelFunction:Function [write-only] Implement this property so that the renderer can receive the labelFunction its MobileGridColumn
public function set labelFunction(value:Function):void| styleProvider | property |
styleProvider:IStyleClient [write-only]
public function set styleProvider(value:IStyleClient):void| textAlign | property |
textAlign:String [write-only] Implement this property so that the renderer can receive the textAlign property from the renderers' MobileGridColumn
public function set textAlign(value:String):void| MobileGridTextCellRenderer | () | Constructor |
public function MobileGridTextCellRenderer()