ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.mosaic.skinning 

SelectableList  - AS3 ADEP Composite Application

Pakietcom.adobe.mosaic.skinning
Klasapublic class SelectableList
DziedziczenieSelectableList Inheritance ArrayCollection Inheritance ListCollectionView Inheritance Proxy
Implementuje ISelectableList

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

Extends ArrayCollection into a selectable array of elements. This allows an element of the collection to be considered "selected".

Domyślna właściwość MXMLsource



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 InheritedfilterFunction : Function
A function that the view will use to eliminate items that do not match the function's criteria.
ListCollectionView
 Inheritedlength : int
[tylko do odczytu] The number of items in this view.
ListCollectionView
 Inheritedlist : IList
The IList that this collection view wraps.
ListCollectionView
  selectedIndex : int
The index of the item that is considered "selected".
SelectableList
 Inheritedsort : ISort
The ISort that will be applied to the ICollectionView.
ListCollectionView
 Inheritedsource : Array
The source of data in the ArrayCollection.
ArrayCollection
Właściwości chronione
 WłaściwośćZdefiniowane przez
 InheritedlocalIndex : Array
When the view is sorted or filtered the localIndex property contains an array of items in the sorted or filtered (ordered, reduced) view, in the sorted order.
ListCollectionView
Metody publiczne
 MetodaZdefiniowane przez
  
SelectableList(source:Array = null)
Constructor
SelectableList
 Inherited
addAll(addList:IList):void
Adds a list of items to the current list, placing them at the end of the list in the order they are passed.
ListCollectionView
 Inherited
addAllAt(addList:IList, index:int):void
Adds a list of items to the current list, placing them at the position index passed in to the function.
ListCollectionView
 Inherited
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.
ListCollectionView
 Inherited
Adds the specified item to the end of the list.
ListCollectionView
 Inherited
addItemAt(item:Object, index:int):void
Adds the item at the specified index.
ListCollectionView
 Inherited
Returns whether the view contains the specified object.
ListCollectionView
 Inherited
Creates a new IViewCursor that works with this view.
ListCollectionView
 Inherited
Prevents changes to the collection itself and items within the collection from being dispatched by the view.
ListCollectionView
 Inherited
Dispatches an event into the event flow.
ListCollectionView
 Inherited
Enables auto-updating.
ListCollectionView
 Inherited
getItemAt(index:int, prefetch:int = 0):Object
Gets the item at the specified index.
ListCollectionView
 Inherited
Returns the index of the item if it is in the list such that getItemAt(index) == item.
ListCollectionView
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
ListCollectionView
 Inherited
Called automatically by the MXML compiler when the ListCollectionView is created using an MXML tag.
ListCollectionView
 Inherited
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Notifies the view that an item has been updated.
ListCollectionView
 Inherited
Applies the sort and filter to the view.
ListCollectionView
 Inherited
Remove all items from the list.
ListCollectionView
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
ListCollectionView
 Inherited
Removes the item at the specified index and returns it.
ListCollectionView
 Inherited
setItemAt(item:Object, index:int):Object
Places the item at the specified index.
ListCollectionView
 Inherited
Returns an Array that is populated in the same order as the IList implementation.
ListCollectionView
 Inherited
Prints the contents of this view to a string and returns it.
ListCollectionView
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
ListCollectionView
Zdarzenia
 Zdarzenie Podsumowanie Zdefiniowane przez
 InheritedDispatched when the ICollectionView has been updated in some way.ListCollectionView
Szczegół właściwości

selectedIndex

właściwość
selectedIndex:int

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

The index of the item that is considered "selected". If the value is less than zero, then no element is selected.

Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .



Implementacja
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
Konstruktor Szczegół

SelectableList

()Konstruktor
public function SelectableList(source:Array = null)

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Wersje środowiska wykonawczego: AIR 2.6, Flash Player 10.2

Constructor

Parametry
source:Array (default = null) — An array used to initialize the collection.




[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.