public class EntryBookTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected List<EntryBook> |
entryBooks |
listenerList| Constructor and Description |
|---|
EntryBookTableModel(List<EntryBook> entryBooks) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryBook(EntryBook entryBook) |
int |
getColumnCount() |
String |
getColumnName(int column) |
EntryBook |
getEntryBookAtRow(int row) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeEntryBook(EntryBook entryBook) |
void |
updateEntryBook(EntryBook entryBook) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAtpublic int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic EntryBook getEntryBookAtRow(int row)
public Object getValueAt(int row, int column)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void addEntryBook(EntryBook entryBook)
public void updateEntryBook(EntryBook entryBook)
public void removeEntryBook(EntryBook entryBook)
Copyright © 2008–2013 CodeLutin. All rights reserved.