Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
TextFieldItemRenderer

Package | org.apache.flex.html.supportClasses
Class | public class TextFieldItemRenderer
Inheritance | TextFieldItemRenderer CSSTextField flash.text.TextField
Implements | ITextItemRenderer, IStrand, IUIBase, org.apache.flex.core.IFlexJSElement

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The TextFieldItemRenderer class provides a org.apache.flex.html.TextField as an itemRenderer.

Public Properties

| Property | Defined By
--- | --- | ---
|  | beads : Array | TextFieldItemRenderer
|  | data : Object The String(data) for the itemRenderer instance. | TextFieldItemRenderer
|  | down : Boolean Whether or not the itemRenderer should be represented in a down (or pre-selected) state. | TextFieldItemRenderer
|  | downColor : uint = 0x808080 | TextFieldItemRenderer
|  | explicitHeight : Number The explicitly set width (as opposed to measured width or percentage width). | TextFieldItemRenderer
|  | explicitWidth : Number The explicitly set width (as opposed to measured width or percentage width). | TextFieldItemRenderer
|  | height : Number [override] | TextFieldItemRenderer
|  | highlightColor : uint = 0xCEDBEF | TextFieldItemRenderer
|  | hovered : Boolean Returns whether or not the itemRenderer is a "hovered" state. | TextFieldItemRenderer
|  | index : int An index value for the itemRenderer corresponding the data's position with its dataProvider. | TextFieldItemRenderer
|  | itemRendererParent : Object The parent component of the itemRenderer instance. | TextFieldItemRenderer
|  | labelField : String | TextFieldItemRenderer
|  | listData : Object Additional data about the list the itemRenderer may find useful. | TextFieldItemRenderer
|  | percentHeight : Number The requested percentage height this component should have in the parent container. | TextFieldItemRenderer
|  | percentWidth : Number The requested percentage width this component should have in the parent container. | TextFieldItemRenderer
|  | selected : Boolean Whether or not the itemRenderer should be represented in a selected state. | TextFieldItemRenderer
|  | selectedColor : uint = 0xA8C6EE | TextFieldItemRenderer
|  | topMostEventDispatcher : IEventDispatcher [read-only] The top most event dispatcher. | TextFieldItemRenderer
|  | width : Number [override] | TextFieldItemRenderer

Public Methods

| Method | Defined By
--- | --- | ---
|  | TextFieldItemRenderer() constructor. | TextFieldItemRenderer

Property Detail

beads | property

`public var beads:Array`

data | property |

`data:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The String(data) for the itemRenderer instance.

Implementation
`public function get data():Object`
`public function set data(value:Object):void`

down | property |

`down:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Whether or not the itemRenderer should be represented in a down (or pre-selected) state.

Implementation
`public function get down():Boolean`
`public function set down(value:Boolean):void`

downColor | property |

`public var downColor:uint = 0x808080`

explicitHeight | property |

`explicitHeight:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The explicitly set width (as opposed to measured width or percentage width).

Implementation
`public function get explicitHeight():Number`
`public function set explicitHeight(value:Number):void`

explicitWidth | property |

`explicitWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The explicitly set width (as opposed to measured width or percentage width).

Implementation
`public function get explicitWidth():Number`
`public function set explicitWidth(value:Number):void`

height | property |

`height:Number`[override]

Implementation
`public function get height():Number`
`public function set height(value:Number):void`

highlightColor | property |

`public var highlightColor:uint = 0xCEDBEF`

hovered | property |

`hovered:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns whether or not the itemRenderer is a "hovered" state.

Implementation
`public function get hovered():Boolean`
`public function set hovered(value:Boolean):void`

index | property |

`index:int`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An index value for the itemRenderer corresponding the data's position with its dataProvider.

Implementation
`public function get index():int`
`public function set index(value:int):void`

itemRendererParent | property |

`itemRendererParent:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The parent component of the itemRenderer instance. This is the container that houses all of the itemRenderers.

Implementation
`public function get itemRendererParent():Object`
`public function set itemRendererParent(value:Object):void`

labelField | property |

`labelField:String`

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

listData | property |

`listData:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Additional data about the list the itemRenderer may find useful.

Implementation
`public function get listData():Object`
`public function set listData(value:Object):void`

percentHeight | property |

`percentHeight:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The requested percentage height this component should have in the parent container. Note that the actual percentage may be different if the total is more than 100% or if there are other components with explicitly set heights.

Implementation
`public function get percentHeight():Number`
`public function set percentHeight(value:Number):void`

percentWidth | property |

`percentWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The requested percentage width this component should have in the parent container. Note that the actual percentage may be different if the total is more than 100% or if there are other components with explicitly set widths.

Implementation
`public function get percentWidth():Number`
`public function set percentWidth(value:Number):void`

selected | property |

`selected:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Whether or not the itemRenderer should be represented in a selected state.

Implementation
`public function get selected():Boolean`
`public function set selected(value:Boolean):void`

selectedColor | property |

`public var selectedColor:uint = 0xA8C6EE`

topMostEventDispatcher | property |

`topMostEventDispatcher:IEventDispatcher` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The top most event dispatcher. Good for trying to capture all input events.

Implementation
`public function get topMostEventDispatcher():IEventDispatcher`

width | property |

`width:Number`[override]

Implementation
`public function get width():Number`
`public function set width(value:Number):void`
Constructor Detail

TextFieldItemRenderer | () | Constructor

`public function TextFieldItemRenderer()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Mon Sep 5 2016, 07:19 AM -07:00