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 Type
    Method
    Description
    int
    Number of columns (not including column header)
    int
     
    getColumnTitle(int col)
    Get the name of the specified column
    int
    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

      Object getValueAt(int row, int col)
      Return the value at the given row+col.
      Parameters:
      row -
      col -
      Returns:
      the value at the given pos
    • getColumnTitle

      String getColumnTitle(int col)
      Get the name of the specified column
      Parameters:
      col -
      Returns:
      the column title
    • getColumnIndex

      int getColumnIndex(String colname)