public class ContributorsTableModel extends javax.swing.table.AbstractTableModel
Used in the ContributorsPanel class.
| Constructor | Description |
|---|---|
ContributorsTableModel(java.util.List contributors) |
Constructs a ContributorsTableModel.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getColumnCount() |
Returns the number of columns in the table model.
|
java.lang.String |
getColumnName(int column) |
Returns the name of a column in the table model.
|
int |
getRowCount() |
Returns the number of rows in the table model.
|
java.lang.Object |
getValueAt(int row,
int column) |
Returns the value for a cell in the table model.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic ContributorsTableModel(java.util.List contributors)
contributors - the contributors.public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName in class javax.swing.table.AbstractTableModelcolumn - the column index (zero-based).public java.lang.Object getValueAt(int row, int column)
row - the row index (zero-based).column - the column index (zero-based).