org.pentaho.platform.plugin.action.jfreereport.helper
Class PentahoTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.pentaho.platform.plugin.action.jfreereport.helper.PentahoTableModel
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
PentahoTableModel

public class PentahoTableModel
extends AbstractTableModel

See Also:
Serialized Form

Constructor Summary
PentahoTableModel(IPentahoResultSet rs)
           
 
Method Summary
 void close()
           
 int getColumnCount()
           
 String getColumnName(int columnNumber)
           
 Log getLogger()
          returns the logger object
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PentahoTableModel

public PentahoTableModel(IPentahoResultSet rs)
Method Detail

getLogger

public Log getLogger()
returns the logger object

Returns:
log

getColumnCount

public int getColumnCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

getRowCount

public int getRowCount()

getColumnName

public String getColumnName(int columnNumber)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

close

public void close()