Package ca.phon.query.report.datasource
Interface TableDataSource
- All Known Implementing Classes:
DefaultTableDataSource
,InventoryDataSource
,ParamDataSource
,ResultListingDataSource
,ResultListingTableModel
,SummaryDataSource
public interface TableDataSource
An interface for implementing a report data source
in a tabular format.
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of columns (not including column header)int
getColumnIndex
(String colname) getColumnTitle
(int col) Get the name of the specified columnint
Number of rows (not including column header)getValueAt
(int row, int col) Return the value at the given row+col.
-
Method Details
-
getColumnCount
int getColumnCount()Number of columns (not including column header) -
getRowCount
int getRowCount()Number of rows (not including column header) -
getValueAt
Return the value at the given row+col.- Parameters:
row
-col
-- Returns:
- the value at the given pos
-
getColumnTitle
Get the name of the specified column- Parameters:
col
-- Returns:
- the column title
-
getColumnIndex
-