public class PersonTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
PersonTableModel() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
setPersonList(List<Person> list) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public PersonTableModel()
public void setPersonList(List<Person> list)
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
Java Examples available from http://www.basilv.com/psd/software Copyright © 2009 by Basil Vandegriend. All Rights Reserved.