Package | mx.data |
Class | public final class PageInformation |
Inheritance | PageInformation Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
loadedPages : Object [read-only]
The loaded page information for the collection. | PageInformation | ||
pageCount : int [read-only]
The current number of pages in the collection. | PageInformation | ||
pageSize : int [read-only]
The current page size for the collection. | PageInformation | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | PageInformation | ||
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 |
Property Detail
loadedPages | property |
loadedPages:Object
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The loaded page information for the collection. This is a sparse array that contains only entries for pages that are loaded.
Implementation
public function get loadedPages():Object
Example ( How to use this example )
var pagesLoaded:Array = [] for (var i:int in pageInfo.loadedPages) pagesLoaded.push(i); trace("pages loaded: "+pagesLoaded.join());
pageCount | property |
pageSize | property |
Constructor Detail
PageInformation | () | Constructor |
public function PageInformation(pageSize:int, pageCount:int, loadedPages:Object)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
ParameterspageSize:int — The page size for the collection.
| |
pageCount:int — The number of pages in the collection.
| |
loadedPages:Object — The loaded page information for the collection.
|
Examples How to use this example
var pageInfo:PageInformation = myDataService.getPageInformation(myCollection); trace("current page size: "+pageInfo.pageSize); trace("current page count: "+pageInfo.pageCount); var pagesLoaded:Array = [] for (var i:int in pageInfo.loadedPages) pagesLoaded.push(i); trace("pages loaded: "+pagesLoaded.join());
Mon Nov 28 2011, 06:48 AM -08:00