public class PageCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
Page | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(Page page) | |
Add the page in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
void | dispose() | |
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
|
||
Page | getPage(int ID) | |
Gets the element at the specified ID.
|
||
Page | getPage(java.lang.String name) | |
Gets the element at the specified name.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(Page page) | |
Remove the page from the collection.
|
public int getCount()
public Page get(int index)
index
- public int add(Page page)
page
- public void dispose()
public void remove(Page page)
page
- public Page getPage(int ID)
ID
- public Page getPage(java.lang.String name)
name
- public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()