套件 | mx.collections |
介面 | public interface IHierarchicalCollectionViewCursor extends IViewCursor , IEventDispatcher |
實作者 | HierarchicalCollectionViewCursor |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
相關 API 元素
mx.collections.IViewCursor
mx.controls.IHierarchicalCollectionView
mx.controls.IHierarchicalCollectionView
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
afterLast : Boolean [唯讀]
If the cursor is located after the last item in the view,
this property is true . | IViewCursor | ||
beforeFirst : Boolean [唯讀]
If the cursor is located before the first item in the view,
this property is true. | IViewCursor | ||
bookmark : CursorBookmark [唯讀]
Provides access to a bookmark that corresponds to the item
returned by the current property. | IViewCursor | ||
current : Object [唯讀]
Provides access the object at the location
in the source collection referenced by this cursor. | IViewCursor | ||
currentDepth : int [唯讀]
Contains the depth of the node at the location
in the source collection referenced by this cursor. | IHierarchicalCollectionViewCursor | ||
view : ICollectionView [唯讀]
A reference to the ICollectionView with which this cursor is associated. | IViewCursor |
屬性詳細資訊
currentDepth | 屬性 |
currentDepth:int
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
實作
public function get currentDepth():int
Tue Jun 12 2018, 03:47 PM Z