org.jurvis.swing.table
Interface JvObjectTableModel

All Superinterfaces:
TableModel
All Known Subinterfaces:
JvExplorerListDetailsModel
All Known Implementing Classes:
JvAbstractObjectTableModel, JvDefaultObjectTableModel, JvDefaultSortableTableModel, JvMappedObjectTableModel

public interface JvObjectTableModel
extends TableModel

A JvObjectTableModel is a TableModel in which each row is actually a single object (which implements JvObjectTableRow. The columns of a row typically represent different fields of the row object.

Author:
Neil W. Weber
See Also:
JvObjectTableRow

Method Summary
 Collection getEmptyCollection()
          Return an empty collection suitable for putting the selected items within.
 Object getObjectAt(int row)
          Return the domain object associated with the specified row.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

getObjectAt

Object getObjectAt(int row)
Return the domain object associated with the specified row.

Parameters:
row - the index of the desired row
Returns:
the domain object for the specified row

getEmptyCollection

Collection getEmptyCollection()
Return an empty collection suitable for putting the selected items within.

Returns:
the empty collection


Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.