This class represents an array of MenuList objects.
◆ add()
void com.foxit.sdk.MenuListArray.add |
( |
MenuList |
element | ) |
|
Add an element to the end of current array.
- Parameters
-
element | New element to be added to current array.
|
- Returns
- None.
◆ getAt()
MenuList com.foxit.sdk.MenuListArray.getAt |
( |
long |
index | ) |
|
Retrieve a copy of the element at position specified by index in current array.
- Parameters
-
index | An index to specify which element is to be retrieved.
|
- Returns
- A copy of an element.
◆ getSize()
long com.foxit.sdk.MenuListArray.getSize |
( |
| ) |
|
Get the size of current array.
- Returns
- The size.
◆ insertAt()
void com.foxit.sdk.MenuListArray.insertAt |
( |
long |
index, |
|
|
MenuList |
element |
|
) |
| |
Insert an element before the position specified by index.
- Parameters
-
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.
|
- Returns
- None.
◆ removeAll()
void com.foxit.sdk.MenuListArray.removeAll |
( |
| ) |
|
Remove all the element from current array.
- Returns
- None.
◆ removeAt()
void com.foxit.sdk.MenuListArray.removeAt |
( |
long |
index | ) |
|
Remove the element in position specified by index.
- Parameters
-
index | An index to specify which element is to be removed. Valid range: from 0 to (count-1). count is returned by function GetSize() .
|
- Returns
- None.