Packagemx.controls.listClasses
Classpublic class ListBaseSelectionData

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

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

dataproperty 
public var data:Object

The data Object that is selected (selectedItem)

indexproperty 
public var index:int

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)

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.