| Paket | mx.collections |
| Klass | public class CursorBookmark |
| Arv | CursorBookmark Object |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
ICollectionView. Bookmarks are used to return a cursor to
an absolute position within the ICollectionView.
Relaterade API-element
Publika egenskaper
| Egenskap | Definieras med | ||
|---|---|---|---|
![]() | constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | |
| CURRENT : CursorBookmark [statisk] [skrivskyddad]
A bookmark representing the current item for the IViewCursor in
an ICollectionView. | CursorBookmark | ||
| FIRST : CursorBookmark [statisk] [skrivskyddad]
A bookmark for the first item in an ICollectionView. | CursorBookmark | ||
| LAST : CursorBookmark [statisk] [skrivskyddad]
A bookmark for the last item in an ICollectionView. | CursorBookmark | ||
| value : Object [skrivskyddad]
The underlying marker representation of the bookmark. | CursorBookmark | ||
Publika metoder
| Metod | Definieras med | ||
|---|---|---|---|
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 | ||
![]() |
Anger om det finns en egenskap angiven för ett objekt. | Object | |
![]() |
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | |
![]() |
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | |
![]() |
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | |
![]() |
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | |
![]() |
Returnerar det angivna objektets strängbeteckning. | Object | |
![]() |
Returnerar det angivna objektets primitiva värde. | Object | |
Egenskapsdetaljer
CURRENT | egenskap |
CURRENT:CursorBookmark [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A bookmark representing the current item for the IViewCursor in
an ICollectionView.
Implementering
public static function get CURRENT():CursorBookmarkFIRST | egenskap |
FIRST:CursorBookmark [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A bookmark for the first item in an ICollectionView.
Implementering
public static function get FIRST():CursorBookmarkLAST | egenskap |
LAST:CursorBookmark [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public static function get LAST():CursorBookmarkvalue | egenskap |
value:Object [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get value():ObjectKonstruktordetaljer
CursorBookmark | () | Konstruktor |
Metoddetaljer
getViewIndex | () | metod |
public function getViewIndex():int| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Returnerarint — 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.
|
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper