Rows

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public final class Rows implements Iterable<Row>

Represents a rows collection of table.

Constructors

ConstructorDescription
Rows()

Methods

MethodDescription
add()Add row to collection.
add(Row row)Add row to cellection.
indexOf(Row row)Returns index of row in collection.
remove(Row row)Remove row from collection.
removeAt(int index)Remove row at position from collection.
removeRange(int index, int count)Remove row set from collection.
iterator_Rename_Namesake()ReservedForInternalUse
iterator()Gets collection’s enumerator.
getCount()The items count.
get_Item(int index)Gets row.
set_Item(int index, Row value)Sets row.

Rows()

public Rows()

add()

public Row add()

Add row to collection.

Returns: Row - The new row

add(Row row)

public void add(Row row)

Add row to cellection.

Parameters:

ParameterTypeDescription
rowRowThe new row.

indexOf(Row row)

public int indexOf(Row row)

Returns index of row in collection.

Parameters:

ParameterTypeDescription
rowRowThe existing row.

Returns: int - The row index

remove(Row row)

public void remove(Row row)

Remove row from collection.

Parameters:

ParameterTypeDescription
rowRowThe existing row.

removeAt(int index)

public void removeAt(int index)

Remove row at position from collection.

Parameters:

ParameterTypeDescription
indexintThe collection index.

removeRange(int index, int count)

public void removeRange(int index, int count)

Remove row set from collection.

Parameters:

ParameterTypeDescription
indexintThe collection index.
countintThe rows count.

iterator_Rename_Namesake()

public System.Collections.IEnumerator iterator_Rename_Namesake()

ReservedForInternalUse

For internal usage only.

Returns: com.aspose.ms.System.Collections.IEnumerator - IEnumerator object

iterator()

public Iterator<Row> iterator()

Gets collection’s enumerator.

Returns: java.util.Iterator<com.aspose.pdf.Row> - Iterator of Row instances

getCount()

public int getCount()

The items count.

Returns: int - int value

get_Item(int index)

public Row get_Item(int index)

Gets row.

Parameters:

ParameterTypeDescription
indexintThe row index.

Returns: Row - Row object

set_Item(int index, Row value)

public void set_Item(int index, Row value)

Sets row.

Parameters:

ParameterTypeDescription
indexintThe row index.
valueRowRow object