Package edu.pdx.cs410J.di
Class CheckoutInventoryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.pdx.cs410J.di.BookInventoryTableModel
edu.pdx.cs410J.di.CheckoutInventoryTableModel
- All Implemented Interfaces:
Serializable
,TableModel
A subclass of
BookInventoryTableModel
that adds an extra column.-
Field Summary
Fields inherited from class edu.pdx.cs410J.di.BookInventoryTableModel
inventory
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getColumnName
(int column) getValueAt
(int row, int column) boolean
isCellEditable
(int row, int column) boolean
isLastColumn
(int column) Methods inherited from class edu.pdx.cs410J.di.BookInventoryTableModel
decrementInventry, getBook, getRowCount
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Constructor Details
-
CheckoutInventoryTableModel
-
-
Method Details
-
getColumnCount
- Specified by:
getColumnCount
in interfaceTableModel
- Overrides:
getColumnCount
in classBookInventoryTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classBookInventoryTableModel
-
getValueAt
- Specified by:
getValueAt
in interfaceTableModel
- Overrides:
getValueAt
in classBookInventoryTableModel
-
isLastColumn
-
isCellEditable
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-