Cells
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public final class Cells implements Iterable<Cell>
Represents a cells collection of row.
Constructors
Constructor | Description |
---|---|
Cells() |
Methods
Method | Description |
---|---|
add() | Add cell to collection. |
add(String text, TextState ts) | Add cell to collection. |
add(String text) | Add cell to collection. |
add(Cell cell) | Add cell to collection. |
removeRange(int index, int count) | Remove cell set from collection. |
remove(Object obj) | Remove cell set from collection. |
remove(Cell cell) | Remove cell set from collection. |
insert(int index, Cell cell) | Insert cell to collection. |
iterator() | Gets collection’s enumerator. |
getCount() | The items count. |
get_Item(int index) | Gets cell. |
set_Item(int index, Cell value) | Sets cells. |
Cells()
public Cells()
add()
public Cell add()
Add cell to collection.
Returns: Cell - The new cell
add(String text, TextState ts)
public Cell add(String text, TextState ts)
Add cell to collection.
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | The text for cell. |
ts | TextState | The text state. |
Returns: Cell - The new cell
add(String text)
public Cell add(String text)
Add cell to collection.
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | The text for cell. |
Returns: Cell - The new cell
add(Cell cell)
public void add(Cell cell)
Add cell to collection.
Parameters:
Parameter | Type | Description |
---|---|---|
cell | Cell | The cell to collection. |
removeRange(int index, int count)
public void removeRange(int index, int count)
Remove cell set from collection.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The collection index. |
count | int | The rows count. |
remove(Object obj)
public void remove(Object obj)
Remove cell set from collection.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object. |
remove(Cell cell)
public void remove(Cell cell)
Remove cell set from collection.
Parameters:
Parameter | Type | Description |
---|---|---|
cell | Cell | The cell object. |
insert(int index, Cell cell)
public void insert(int index, Cell cell)
Insert cell to collection.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The selected index. |
cell | Cell | The selected cell. |
iterator()
public Iterator<Cell> iterator()
Gets collection’s enumerator.
Returns: java.util.Iterator<com.aspose.pdf.Cell> - Iterator of Cell instances
getCount()
public int getCount()
The items count.
Returns: int - int value
get_Item(int index)
public Cell get_Item(int index)
Gets cell.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The cell index. |
Returns: Cell - Cell object
set_Item(int index, Cell value)
public void set_Item(int index, Cell value)
Sets cells.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The cell index. |
value | Cell | The cells value |