org.jfree.report.modules.misc.tablemodel
public class CSVTableModel extends AbstractTableModel
TableModel used by the CSVTableModelProducer class. It has a
feature which generates the column name if it is not know.
See Also: this.getColumnName()
| Constructor Summary | |
|---|---|
| CSVTableModel() | |
| Method Summary | |
|---|---|
| int | getColumnCount()
Counts columns of this TableModel.
|
| String | getColumnName(int column)
Return the column name at a specified position.
|
| String[] | getColumnNames() |
| Object[][] | getData() |
| int | getMaxColumnCount() |
| int | getRowCount()
Counts rows of this TableModel.
|
| Object | getValueAt(int rowIndex, int columnIndex)
Gets the Object at specified row and column positions.
|
| void | setColumnNames(String[] columnNames) |
| void | setData(Object[][] data) |
| void | setMaxColumnCount(int maxColumnCount)
Sets the maximum column count if it is bigger than the current one.
|
TableModel.
Returns: the column count
Parameters: column column index
Returns: the column name
TableModel.
Returns: the row count
Parameters: rowIndex row index columnIndex column index
Returns: The requested Object
Parameters: maxColumnCount