Foxit PDF SDK
|
Public Member Functions | |
NoteArray () | |
Constructor. | |
NoteArray (NoteArray other) | |
Constructor, with another array object. More... | |
void | add (Note element) |
Add an element to the end of current array. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Note | getAt (long index) |
Retrieve a copy of the element at position specified by index in current array. More... | |
long | getSize () |
Get the size of elements in current array. More... | |
void | insertAt (long index, Note 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 note annotation objects.
com.foxit.sdk.pdf.annots.NoteArray.NoteArray | ( | NoteArray | other | ) |
Constructor, with another array object.
[in] | other | Another array object. |
void com.foxit.sdk.pdf.annots.NoteArray.add | ( | Note | element | ) |
Add an element to the end of current array.
[in] | element | New element to be added to current array. |
synchronized void com.foxit.sdk.pdf.annots.NoteArray.delete | ( | ) |
Clean up related resources immediately.
Note com.foxit.sdk.pdf.annots.NoteArray.getAt | ( | long | index | ) |
Retrieve a copy of the element at position specified by index in current array.
[in] | index | An index to specify which element is to be retrieved. |
long com.foxit.sdk.pdf.annots.NoteArray.getSize | ( | ) |
Get the size of elements in current array.
void com.foxit.sdk.pdf.annots.NoteArray.insertAt | ( | long | index, |
Note | element | ||
) |
Insert an element before the position specified by index.
[in] | index | An index to specify where to insert the new element. Valid range: from 0 to (size-1). size is the size of elements in current array. |
[in] | element | New element to be inserted to current array. |
void com.foxit.sdk.pdf.annots.NoteArray.removeAll | ( | ) |
Remove all the element from current array.
void com.foxit.sdk.pdf.annots.NoteArray.removeAt | ( | long | index | ) |
Remove the element in position specified by index.
[in] | index | An index to specify which element is to be removed. Valid range: from 0 to (size-1). size is the size of elements in current array. |