| java.lang.Object javax.swing.table.AbstractTableModel org.jfree.ui.about.ContributorsTableModel
ContributorsTableModel | public class ContributorsTableModel extends AbstractTableModel (Code) | | A table model containing a list of contributors to a project.
Used in the ContributorsPanel class.
author: David Gilbert |
Method Summary | |
public int | getColumnCount() Returns the number of columns in the table model. | public String | getColumnName(int column) Returns the name of a column in the table model.
Parameters: column - the column index (zero-based). | public int | getRowCount() Returns the number of rows in the table model. | public Object | getValueAt(int row, int column) Returns the value for a cell in the table model.
Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). |
ContributorsTableModel | public ContributorsTableModel(List contributors)(Code) | | Constructs a ContributorsTableModel.
Parameters: contributors - the contributors. |
getColumnCount | public int getColumnCount()(Code) | | Returns the number of columns in the table model. In this case, there are always two
columns (name and e-mail address).
The number of columns in the table model. |
getColumnName | public String getColumnName(int column)(Code) | | Returns the name of a column in the table model.
Parameters: column - the column index (zero-based). the name of the specified column. |
getRowCount | public int getRowCount()(Code) | | Returns the number of rows in the table model.
The number of rows. |
getValueAt | public Object getValueAt(int row, int column)(Code) | | Returns the value for a cell in the table model.
Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). the value. |
|
|