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

Package | org.apache.flex.core
Interface | public interface ISelectableItemRenderer extends IItemRenderer, IEventDispatcher, flash.events.IEventDispatcher
Implementors | GraphicsItemRenderer, UIItemRendererBase

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IItemRenderer interface is the basic interface for item renderers. More complex item renderers may implements extensions of this interface.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | data : Object The data item to be displayed by the item renderer. | IItemRenderer
|  | down : Boolean true if the item renderer is rendering an item that is under the mouse pointer and the mouse button is down. | ISelectableItemRenderer
|  | hovered : Boolean true if the item renderer is rendering an item that is under the mouse pointer. | ISelectableItemRenderer
|  | index : int The index of the data item in the data provider. | ISelectableItemRenderer
|  | itemRendererParent : Object The parent component of the itemRenderer instance. | IItemRenderer
|  | labelField : String The property on the data item that the item renderer should renderer. | ISelectableItemRenderer
|  | listData : Object Additional data about the list structure that might be useful to itemRenderer implementations. | IItemRenderer
|  | selected : Boolean true if the item renderer is rendering an item that is selected. | ISelectableItemRenderer

Property Detail

down | property

`down:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

`true` if the item renderer is rendering an item that is under the mouse pointer and the mouse button is down.

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

hovered | property |

`hovered:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

`true` if the item renderer is rendering an item that is under the mouse pointer.

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

The index of the data item in the data provider.

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

labelField | property |

`labelField:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The property on the data item that the item renderer should renderer.

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

selected | property |

`selected:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

`true` if the item renderer is rendering an item that is selected.

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

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