public class ContributorsTableModel extends AbstractTableModel
Used in the ContributorsPanel class.
listenerList
Constructor and Description |
---|
ContributorsTableModel(List contributors)
Constructs a ContributorsTableModel.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns in the table model.
|
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.
|
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, setValueAt
public ContributorsTableModel(List contributors)
contributors
- the contributors.public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- the column index (zero-based).public Object getValueAt(int row, int column)
row
- the row index (zero-based).column
- the column index (zero-based).Copyright © 2001–2018 JFree.org. All rights reserved.