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...
mx.collections 

IHierarchicalCollectionViewCursor  - AS3 Flex

Pakietmx.collections
Interfejspublic interface IHierarchicalCollectionViewCursor extends IViewCursor , IEventDispatcher
Implementory HierarchicalCollectionViewCursor

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The IHierarchicalCollectionViewCursor interface defines the interface for enumerating a hierarchical collection view bidirectionally. This cursor provides capabilities to find the current depth of an item.

Powiązane elementy interfejsu API

mx.collections.IViewCursor
mx.controls.IHierarchicalCollectionView


Właściwości publiczne
 WłaściwośćZdefiniowane przez
 InheritedafterLast : Boolean
[tylko do odczytu] If the cursor is located after the last item in the view, this property is true .
IViewCursor
 InheritedbeforeFirst : Boolean
[tylko do odczytu] If the cursor is located before the first item in the view, this property is true.
IViewCursor
 Inheritedbookmark : CursorBookmark
[tylko do odczytu] Provides access to a bookmark that corresponds to the item returned by the current property.
IViewCursor
 Inheritedcurrent : Object
[tylko do odczytu] Provides access the object at the location in the source collection referenced by this cursor.
IViewCursor
  currentDepth : int
[tylko do odczytu] Contains the depth of the node at the location in the source collection referenced by this cursor.
IHierarchicalCollectionViewCursor
 Inheritedview : ICollectionView
[tylko do odczytu] A reference to the ICollectionView with which this cursor is associated.
IViewCursor
Metody publiczne
 MetodaZdefiniowane przez
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
IEventDispatcher
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
IEventDispatcher
 Inherited
Finds an item with the specified properties within the collection and positions the cursor to that item.
IViewCursor
 Inherited
Finds the first item with the specified properties within the collection and positions the cursor to that item.
IViewCursor
 Inherited
Finds the last item with the specified properties within the collection and positions the cursor on that item.
IViewCursor
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
IEventDispatcher
 Inherited
Inserts the specified item before the cursor's current position.
IViewCursor
 Inherited
Moves the cursor to the next item within the collection.
IViewCursor
 Inherited
Moves the cursor to the previous item within the collection.
IViewCursor
 Inherited
Removes the current item and returns it.
IViewCursor
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
IEventDispatcher
 Inherited
seek(bookmark:CursorBookmark, offset:int = 0, prefetch:int = 0):void
Moves the cursor to a location at an offset from the specified bookmark.
IViewCursor
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
IEventDispatcher
Szczegół właściwości

currentDepth

właściwość
currentDepth:int  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Contains the depth of the node at the location in the source collection referenced by this cursor. If the cursor is beyond the end of the collection, this property contains 0.



Implementacja
    public function get currentDepth():int




[ 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.