[]
        
(Showing Draft Content)

ITableDataSource

Interface ITableDataSource


public interface ITableDataSource
Classes that implement this interface can be regarded as ResultSet data sources
  • Method Details

    • getValue

      Object getValue(int row, int column)
      get value from the data source.
      Parameters:
      row - start from 0
      column - start from 0
      Returns:
      value
    • getRowCount

      int getRowCount()
      Returns:
      row count
    • getColumnCount

      int getColumnCount()
      Returns:
      column count
    • getColumnName

      String getColumnName(int column)
      Parameters:
      column - start from 0
      Returns:
      column name
    • getColumnIndex

      int getColumnIndex(String columnName)
      Get the column index.
      Parameters:
      columnName - The column name.
      Returns:
      The column index.