com.aspose.cells
Class RowCollection

java.lang.Object
    extended by com.aspose.cells.RowCollection
All Implemented Interfaces:
java.lang.Iterable

public abstract class RowCollection 
extends java.lang.Object

Collects the objects that represent the individual rows in a worksheet.
See Also:
Row

Property Getters/Setters Summary
abstract intgetCount()
           Gets the number of rows in this collection.
abstract Rowget(int rowIndex)
           Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before.
 
Method Summary
abstract voidclear()
           Clear all rows and cells.
abstract RowgetRowByIndex(int index)
           Gets the row object by the position in the list.
abstract java.util.Iteratoriterator()
           Gets an enumerator that iterates through this collection
abstract voidremoveAt(int index)
           Remove the row at the specified index
 

Property Getters/Setters Detail

getCount

public abstract int getCount()
Gets the number of rows in this collection.

get

public abstract Row get(int rowIndex)
Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before.
See Also:
Row

Method Detail

iterator

public abstract java.util.Iterator iterator()
Gets an enumerator that iterates through this collection
Returns:
enumerator

getRowByIndex

public abstract Row getRowByIndex(int index)
Gets the row object by the position in the list.
Parameters:
index - The position.
Returns:
The Row object at given position.

clear

public abstract void clear()
Clear all rows and cells.

removeAt

public abstract void removeAt(int index)
Remove the row at the specified index
Parameters:
index - zero-based row index

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.