mx.controls.listClasses

# ListBaseSelectionData - AS3 Flex

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.

Related API Elements

mx.controls.listClasses.ListBase.selectedData

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | approximate : Boolean If true, then the index property is an approximate value and not the exact value. | ListBaseSelectionData
|  | constructor : 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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ListBaseSelectionData(data:Object, index:int, approximate:Boolean) Constructor. | ListBaseSelectionData
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00