Package com.grapecity.documents.excel
Interface ITableDataSource
public interface ITableDataSource
Classes that implement this interface can be regarded as
ResultSet data sources-
Method Summary
Modifier and TypeMethodDescriptionintintgetColumnIndex(String columnName) Get the column index.getColumnName(int column) intgetValue(int row, int column) get value from the data source.
-
Method Details
-
getValue
get value from the data source.- Parameters:
row- start from 0column- start from 0- Returns:
- value
-
getRowCount
int getRowCount()- Returns:
- row count
-
getColumnCount
int getColumnCount()- Returns:
- column count
-
getColumnName
- Parameters:
column- start from 0- Returns:
- column name
-
getColumnIndex
Get the column index.- Parameters:
columnName- The column name.- Returns:
- The column index.
-