| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Encapsulates the positional aspects of a cursor in an
ICollectionView. Bookmarks are used to return a cursor to
an absolute position within the
ICollectionView.
CURRENT:CursorBookmark [read-only]
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
A bookmark representing the current item for the IViewCursor in
an ICollectionView.
Implementation public static function get CURRENT():CursorBookmarkFIRST:CursorBookmark [read-only]
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
A bookmark for the first item in an ICollectionView.
Implementation public static function get FIRST():CursorBookmarkLAST:CursorBookmark [read-only]
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
A bookmark for the last item in an ICollectionView.
If the view has no items, the cursor is at this bookmark.
Implementation public static function get LAST():CursorBookmarkvalue:Object [read-only]
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The underlying marker representation of the bookmark.
This value is generally understood only by the IViewCursor
or ICollectionView implementation.
Implementation public function get value():Objectpublic function CursorBookmark(value:Object)| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Creates a new instance of a bookmark with the specified value.
Parameters | value:Object — The value of this bookmark.
|
public function getViewIndex():int| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Gets the approximate index of the item represented by this bookmark
in its view. If the item has been paged out, this method could throw an
ItemPendingError.
Returns | int — The index of the item. If the item is not in the current view, this method returns
-1. This method also returns -1 if index-based location is not possible.
|
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00