org.jfree.report.modules.misc.tablemodel
public class JoiningTableModel extends AbstractTableModel
Field Summary | |
---|---|
static String | TABLE_PREFIX_COLUMN |
Constructor Summary | |
---|---|
JoiningTableModel() |
Method Summary | |
---|---|
void | addTableModel(String prefix, TableModel model) |
Class | getColumnClass(int columnIndex)
Returns Object.class regardless of columnIndex .
|
int | getColumnCount()
Returns the number of columns managed by the data source object. |
String | getColumnName(int column)
Returns a default name for the column using spreadsheet conventions: A, B, C, ... |
int | getRowCount()
Returns the number of records managed by the data source object. |
TableModel | getTableModel(int pos) |
int | getTableModelCount() |
Object | getValueAt(int rowIndex, int columnIndex)
Returns an attribute value for the cell at columnIndex and rowIndex.
|
boolean | isCellEditable(int rowIndex, int columnIndex)
Returns false. |
void | removeTableModel(TableModel model) |
protected void | updateData() |
protected void | updateRowCount() |
protected void | updateStructure() |
Object.class
regardless of columnIndex
.
Parameters: columnIndex the column being queried
Returns: the Object.class
Returns: the number or columns in the model
See Also: JoiningTableModel
column
cannot be found, returns an empty string.
Parameters: column the column being queried
Returns: a string containing the default name of column
Returns: the number or rows in the model
See Also: JoiningTableModel
Parameters: rowIndex the row whose value is to be looked up columnIndex the column whose value is to be looked up
Returns: the value Object at the specified cell
Parameters: rowIndex the row being queried columnIndex the column being queried
Returns: false