Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.controls.listClasses 
ListBaseSelectionData 
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



Public Properties
 PropertyDefined By
  approximate : Boolean
If true, then the index property is an approximate value and not the exact value.
ListBaseSelectionData
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  data : Object
The data Object that is selected (selectedItem)
ListBaseSelectionData
  index : int
The index in the data provider of the selected item.
ListBaseSelectionData
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
ListBaseSelectionData(data:Object, index:int, approximate:Boolean)
Constructor.
ListBaseSelectionData
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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.