Class DataSourcePanelJDBC.ResultsTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
com.reportmill.panels.DataSourcePanelJDBC.ResultsTableModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
DataSourcePanelJDBC

public class DataSourcePanelJDBC.ResultsTableModel extends AbstractTableModel
An inner class for the results.
See Also:
  • Constructor Details

    • ResultsTableModel

      public ResultsTableModel()
  • Method Details

    • getRowCount

      public int getRowCount()
      Returns the number of rows in dataset.
    • getColumnCount

      public int getColumnCount()
      Returns the number of columns in dataset.
    • getColumnName

      public String getColumnName(int col)
      Returns the name of the column at given index.
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getValueAt

      public Object getValueAt(int row, int col)
      Returns the value for the given row & column.