Foxit PDF SDK
com.foxit.sdk.addon.tablegenerator.TableCellDataColArray Class Reference

This class represents an array of TableCellData objects,inserted in the order of the displayed table from left to right.
More...

Public Member Functions

 TableCellDataColArray ()
 Constructor.

 
 TableCellDataColArray (TableCellDataColArray other)
 Constructor, with another array object.
More...
 
void add (TableCellData element)
 Add an element to the end of current array.
More...
 
synchronized void delete ()
 Clean up related resources immediately. More...
 
TableCellData 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, TableCellData 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...
 

Detailed Description

This class represents an array of TableCellData objects,inserted in the order of the displayed table from left to right.

Constructor & Destructor Documentation

◆ TableCellDataColArray()

com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.TableCellDataColArray ( TableCellDataColArray  other)

Constructor, with another array object.

Parameters
[in]otherAnother array object.

Member Function Documentation

◆ add()

void com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.add ( TableCellData  element)

Add an element to the end of current array.

Parameters
[in]elementNew element to be added to current array.
Returns
None.

◆ delete()

synchronized void com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.delete ( )

Clean up related resources immediately.

Returns
None.
Note
Once this function is called, current object cannot be used anymore.

◆ getAt()

TableCellData com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.getAt ( long  index)

Retrieve a copy of the element at position specified by index in current array.

Parameters
[in]indexAn index to specify which element is to be retrieved.
Returns
A copy of an element.

◆ getSize()

long com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.getSize ( )

Get the size of elements in current array.

Returns
The size.

◆ insertAt()

void com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.insertAt ( long  index,
TableCellData  element 
)

Insert an element before the position specified by index.

Parameters
[in]indexAn 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]elementNew element to be inserted to current array.
Returns
None.

◆ removeAll()

void com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.removeAll ( )

Remove all the element from current array.

Returns
None.

◆ removeAt()

void com.foxit.sdk.addon.tablegenerator.TableCellDataColArray.removeAt ( long  index)

Remove the element in position specified by index.

Parameters
[in]indexAn 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.
Returns
None.