| Package | mx.data |
| Class | public final class PageInformation |
| Inheritance | PageInformation Object |
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());
| Property | Defined by | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| loadedPages : Object
[read-only]
Provides read-only access to the loaded page information for the
collection.
| PageInformation | ||
| pageCount : int
[read-only]
Provides read-only access to the current number of pages in the
collection.
| PageInformation | ||
| pageSize : int
[read-only]
Provides read-only access to the current page size for the collection
| PageInformation | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Method | Defined by | ||
|---|---|---|---|
| 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 the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| loadedPages | property |
loadedPages:Object [read-only]Provides read-only access to 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
var pagesLoaded:Array = []
for (var i:int in pageInfo.loadedPages)
pagesLoaded.push(i);
trace("pages loaded: "+pagesLoaded.join());
| pageCount | property |
pageCount:int [read-only]Provides read-only access to the current number of pages in the collection.
Implementation public function get pageCount():int
| pageSize | property |
pageSize:int [read-only]Provides read-only access to the current page size for the collection
Implementation public function get pageSize():int
| PageInformation | () | constructor |
public function PageInformation(pageSize:int, pageCount:int, loadedPages:Object)Parameters
pageSize:int |
|
pageCount:int |
|
loadedPages:Object |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/data/PageInformation.html