Public Member Functions | |
AnnotArray () | |
Constructor. | |
AnnotArray (AnnotArray arg0) | |
Constructor, with another array object. | |
void | add (Annot element) |
Add an element to the end of current array. More... | |
Annot | getAt (long index) |
Retrieve a copy of the element at position specified by index in current array. More... | |
long | getSize () |
Get the size of current array. More... | |
void | insertAt (long index, Annot element) |
Insert an element before the position specified by index. More... | |
void | removeAll () |
Remove all the element from current array. More... | |
void | removeAt (long index) |
Remove the element in position specified by index. More... | |
This class represents an array of Annot objects.
void com.foxit.sdk.pdf.annots.AnnotArray.add | ( | Annot | element | ) |
Add an element to the end of current array.
element | New element to be added to current array. |
Annot com.foxit.sdk.pdf.annots.AnnotArray.getAt | ( | long | index | ) |
Retrieve a copy of the element at position specified by index in current array.
index | An index to specify which element is to be retrieved. |
long com.foxit.sdk.pdf.annots.AnnotArray.getSize | ( | ) |
Get the size of current array.
void com.foxit.sdk.pdf.annots.AnnotArray.insertAt | ( | long | index, |
Annot | element | ||
) |
Insert an element before the position specified by index.
index | An index to specify where to insert the new element. Valid range: from 0 to (count-1). count is returned by function GetSize() . |
element | New element to be inserted to current array. |
void com.foxit.sdk.pdf.annots.AnnotArray.removeAll | ( | ) |
Remove all the element from current array.
void com.foxit.sdk.pdf.annots.AnnotArray.removeAt | ( | long | index | ) |
Remove the element in position specified by index.
index | An index to specify which element is to be removed. Valid range: from 0 to (count-1). count is returned by function GetSize() . |