| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageList
public class PageList
Represents a collection of pages associated with a document.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
|---|---|
| PageList()Initializes a new instance of the PageListclass. | |
| Method Summary | |
|---|---|
|  void | add(int index,
    Page page)Inserts a Pageinto thePageListat the specified index. | 
|  int | add(Page page)Adds a Pageto the end of thePageList. | 
|  java.util.Iterator | getIterator()Returns an iterator that can iterate through the PageList. | 
|  Page | getPage(int index)Gets the page at the given index. | 
|  int | size()Gets the number of pages in the collection. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PageList()
PageList class.
| Method Detail | 
|---|
public Page getPage(int index)
index - the integer specifying the index value of the
               Page stored in the ArrayList.
ArrayListpublic int size()
ArrayList.public int add(Page page)
Page to the end of the PageList.
page - The Page to be added to the end of
                the PageList.
PageList index at which the
                page has been added.Page, 
PageList
public void add(int index,
                Page page)
Page into the PageList
 at the specified index.
index - The zero-based index value at which Page
                 should be inserted.page - The Page to insert.Page, 
PageListpublic java.util.Iterator getIterator()
PageList.
PageList.PageList, 
Iterator| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||