Package | mx.core |
Interface | public interface ISelectableList extends IList , IEventDispatcher |
Implementors | SelectableList, TabbedViewNavigator, ViewStack |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
selectedIndex
property.
Public Properties
Property | Defined By | ||
---|---|---|---|
length : int [read-only]
The number of items in this collection. | IList | ||
selectedIndex : int
The index of the selected IList item. | ISelectableList |
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Adds the specified item to the end of the list. | IList | ||
Adds the item at the specified index. | IList | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Gets the item at the specified index. | IList | ||
Returns the index of the item if it is in the list such that
getItemAt(index) == item. | IList | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Notifies the view that an item has been updated. | IList | ||
Removes all items from the list. | IList | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Removes the item at the specified index and returns it. | IList | ||
Places the item at the specified index. | IList | ||
Returns an Array that is populated in the same order as the IList
implementation. | IList | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Events
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the selectedIndex property changes. | ISelectableList | |||
Dispatched when the selectedIndex property changes. | ISelectableList |
Property Detail
selectedIndex | property |
Event Detail
change | Event |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Dispatched when the selectedIndex
property changes.
valueCommit | Event |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Dispatched when the selectedIndex
property changes.
Thu Dec 4 2014, 05:50 PM -08:00