| Package | mx.collections |
| Class | public class CursorBookmark |
| Inheritance | CursorBookmark Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
ICollectionView. Bookmarks are used to return a cursor to
an absolute position within the ICollectionView.
Related API Elements
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| CURRENT : CursorBookmark [static] [read-only]
A bookmark representing the current item for the IViewCursor in
an ICollectionView. | CursorBookmark | ||
| FIRST : CursorBookmark [static] [read-only]
A bookmark for the first item in an ICollectionView. | CursorBookmark | ||
| LAST : CursorBookmark [static] [read-only]
A bookmark for the last item in an ICollectionView. | CursorBookmark | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
| value : Object [read-only]
The underlying marker representation of the bookmark. | CursorBookmark | ||
| Method | Defined By | ||
|---|---|---|---|
CursorBookmark(value:Object)
Creates a new instance of a bookmark with the specified value. | CursorBookmark | ||
Gets the approximate index of the item represented by this bookmark
in its view. | CursorBookmark | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
CURRENT | property |
CURRENT:CursorBookmark [read-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| 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 | property |
FIRST:CursorBookmark [read-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
A bookmark for the first item in an ICollectionView.
Implementation
public static function get FIRST():CursorBookmarkLAST | property |
LAST:CursorBookmark [read-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| 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 | property |
value:Object [read-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| 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():ObjectCursorBookmark | () | Constructor |
getViewIndex | () | method |
public function getViewIndex():int| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| 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.
Returnsint — 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.
|
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties