|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItemTableModel
Provides a mapping from an ItemContainer to a table which can be displayed on screen allowing items to be chosen by the user.
| Method Summary | |
|---|---|
char |
getCharacterForRow(int row)
Returns the character which must be keyed to reference the item(s) at the given row in the table. |
ItemContainer |
getItemContainer()
The item container. |
Item |
getItemForRow(int row)
Return the first item represented by a row in the table. |
java.util.List<Item> |
getItemsForRow(int row)
Return the items represented by a row in the table. |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
| Method Detail |
|---|
ItemContainer getItemContainer()
char getCharacterForRow(int row)
- - the row in the table presented to the userItem getItemForRow(int row)
java.util.List<Item> getItemsForRow(int row)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||