Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ListBaseSelectionData

Package | mx.controls.listClasses
Class | public class ListBaseSelectionData
Inheritance | ListBaseSelectionData Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Records used by list classes to keep track of what is selected. Each selected item is represented by an instance of this class.

See also

mx.controls.listClasses.ListBase.selectedData

Public Properties

| Property | Defined By
--- | --- | ---
|  | approximate : Boolean If true, then the index property is an approximate value and not the exact value. | ListBaseSelectionData
|  | data : Object The data Object that is selected (selectedItem) | ListBaseSelectionData
|  | index : int The index in the data provider of the selected item. | ListBaseSelectionData

Public Methods

| Method | Defined By
--- | --- | ---
|  | ListBaseSelectionData(data:Object, index:int, approximate:Boolean) Constructor. | ListBaseSelectionData

Property Detail

approximate | property

`public var approximate:Boolean`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

If true, then the index property is an approximate value and not the exact value.

data | property |

`public var data:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The data Object that is selected (selectedItem)

index | property |

`public var index:int`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The index in the data provider of the selected item. (may be approximate)

Constructor Detail

ListBaseSelectionData | () | Constructor

`public function ListBaseSelectionData(data:Object, index:int, approximate:Boolean)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `data:Object` — The data Object that is selected
| `index:int` — The index in the data provider of the selected item. (may be approximate)
| `approximate:Boolean` — If true, then the index property is an approximate value and not the exact value.

Sun Mar 5 2017, 03:42 PM +11:00