|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 PageList class. |
Method Summary | |
---|---|
void |
add(int index,
Page page)
Inserts a Page into the PageList
at the specified index. |
int |
add(Page page)
Adds a Page to the end of the PageList . |
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
.
ArrayList
public 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
,
PageList
public 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 |