| java.lang.Object javax.swing.table.AbstractTableModel org.jfree.report.modules.misc.referencedoc.ObjectReferenceTableModel
ObjectReferenceTableModel | public class ObjectReferenceTableModel extends AbstractTableModel (Code) | | A table model for the objects referenced by the class factories.
author: Thomas Morgner. |
Method Summary | |
public Class | getColumnClass(int columnIndex) Returns String.class regardless of columnIndex . | public int | getColumnCount() Returns the number of columns in the model. | public String | getColumnName(int column) Returns the column name. | public int | getRowCount() Returns the number of rows in the model. | public Object | getValueAt(int rowIndex, int columnIndex) Returns the value for the cell at columnIndex and
rowIndex . |
ObjectReferenceTableModel | public ObjectReferenceTableModel(ClassFactoryCollector cf)(Code) | | Creates a new table model for a set of class factories.
Parameters: cf - the class factories. |
getColumnClass | public Class getColumnClass(int columnIndex)(Code) | | Returns String.class regardless of columnIndex .
Parameters: columnIndex - the column being queried the Object.class |
getColumnCount | public int getColumnCount()(Code) | | Returns the number of columns in the model. A JTable uses this method to
determine how many columns it should create and display by default.
the number of columns in the model See Also: ObjectReferenceTableModel.getRowCount |
getColumnName | public String getColumnName(int column)(Code) | | Returns the column name.
Parameters: column - the column being queried a string containing the default name of column |
getRowCount | public int getRowCount()(Code) | | Returns the number of rows in the model. A JTable uses this method to
determine how many rows it should display. This method should be quick, as it is
called frequently during rendering.
the number of rows in the model See Also: ObjectReferenceTableModel.getColumnCount |
getValueAt | public Object getValueAt(int rowIndex, int columnIndex)(Code) | | Returns the value for the cell at columnIndex and
rowIndex .
Parameters: rowIndex - the row whose value is to be queried Parameters: columnIndex - the column whose value is to be queried the value Object at the specified cell |
|
|