Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The PageInformation class provides detailed data about what
pages of a collection have been loaded, how many there are, and what the
current page size is.
View the examples
loadedPages:Object
[read-only]
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 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:int
[read-only]
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The current number of pages in the collection.
Implementation public function get pageCount():int
pageSize:int
[read-only]
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The current page size for the collection.
Implementation public function get pageSize():int
public function PageInformation(pageSize:int, pageCount:int, loadedPages:Object)
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
Parameters | pageSize: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.
|
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());
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00