org.pentaho.platform.plugin.action.jfreereport.helper
Class PentahoTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.pentaho.platform.plugin.action.jfreereport.helper.PentahoTableModel
- All Implemented Interfaces:
- Serializable, TableModel, org.pentaho.reporting.engine.classic.core.util.CloseableTableModel
- Direct Known Subclasses:
- PentahoTableModel
public class PentahoTableModel
- extends AbstractTableModel
- implements org.pentaho.reporting.engine.classic.core.util.CloseableTableModel
- See Also:
- Serialized Form
Constructor Summary |
PentahoTableModel(org.pentaho.commons.connection.IPentahoResultSet rs)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
PentahoTableModel
public PentahoTableModel(org.pentaho.commons.connection.IPentahoResultSet rs)
getLogger
public org.apache.commons.logging.Log getLogger()
- returns the logger object
- Returns:
- log
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface TableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
getColumnName
public String getColumnName(int columnNumber)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
close
public void close()
- Specified by:
close
in interface org.pentaho.reporting.engine.classic.core.util.CloseableTableModel