Packagemx.controls.listClasses
Classpublic class ListBaseSelectionData
InheritanceListBaseSelectionData Inheritance 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
 PropertyDefined 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
 MethodDefined By
  
ListBaseSelectionData(data:Object, index:int, approximate:Boolean)
Constructor.
ListBaseSelectionData
Property Detail
approximateproperty
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.

dataproperty 
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)

indexproperty 
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.