org.jfree.report.modules.misc.tablemodel
Class CSVTableModel
AbstractTableModelorg.jfree.report.modules.misc.tablemodel.CSVTableModel
extends AbstractTableModel
TableModel used by the CSVTableModelProducer class. It has a
feature which generates the column name if it is not know.
getColumnCount
public int getColumnCount()
Counts columns of this TableModel.
getColumnName
public String getColumnName(int column)
Return the column name at a specified position.
getRowCount
public int getRowCount()
Counts rows of this TableModel.
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex) Gets the Object at specified row and column positions.
rowIndex - row indexcolumnIndex - column index
setData
public void setData(Object[][] data)
setMaxColumnCount
public void setMaxColumnCount(int maxColumnCount)
Sets the maximum column count if it is bigger than the current one.