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

Package | org.apache.flex.html.beads
Class | public class DataItemRendererFactoryAndEventDispatcherForArrayData
Inheritance | DataItemRendererFactoryAndEventDispatcherForArrayData EventDispatcher flash.events.EventDispatcher
Implements | IBead, IDataProviderItemRendererMapper

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The DataItemRendererFactoryAndEventDispatcherForArrayData class reads an array of data and creates an item renderer for every item in the array. As each itemRenderer is created, a function is called that can be overridden in a subclass. Other implementations of IDataProviderItemRendererMapper map different data structures or manage a virtual set of renderers.

Public Properties

| Property | Defined By
--- | --- | ---
|  | itemRendererFactory : IItemRendererClassFactory The org.apache.flex.core.IItemRendererClassFactory used to generate instances of item renderers. | DataItemRendererFactoryAndEventDispatcherForArrayData
|  | strand : IStrand [write-only] The host component for this bead. | DataItemRendererFactoryAndEventDispatcherForArrayData

Protected Properties

| Property | Defined By
--- | --- | ---
|  | dataGroup : IItemRendererParent The org.apache.flex.core.IItemRendererParent that will parent the item renderers. | DataItemRendererFactoryAndEventDispatcherForArrayData

Public Methods

| Method | Defined By
--- | --- | ---
|  | DataItemRendererFactoryAndEventDispatcherForArrayData() Constructor. | DataItemRendererFactoryAndEventDispatcherForArrayData

Protected Methods

| Method | Defined By
--- | --- | ---
|  | itemRendererCreated(ir:ISelectableItemRenderer):void Override this function in a subclass to hook event listeners or other features into the itemRenderer when it has been created and set. | DataItemRendererFactoryAndEventDispatcherForArrayData

Property Detail

dataGroup | property

`protected var dataGroup:IItemRendererParent`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The org.apache.flex.core.IItemRendererParent that will parent the item renderers.

itemRendererFactory | property |

`itemRendererFactory:IItemRendererClassFactory`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The org.apache.flex.core.IItemRendererClassFactory used to generate instances of item renderers.

Implementation
`public function get itemRendererFactory():IItemRendererClassFactory`
`public function set itemRendererFactory(value:IItemRendererClassFactory):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`
Constructor Detail

DataItemRendererFactoryAndEventDispatcherForArrayData | () | Constructor

`public function DataItemRendererFactoryAndEventDispatcherForArrayData()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

itemRendererCreated | () | method

`protected function itemRendererCreated(ir:ISelectableItemRenderer):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Override this function in a subclass to hook event listeners or other features into the itemRenderer when it has been created and set.

Parameters

| `ir:ISelectableItemRenderer`

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