package data.swing; import data.*; import util.swing.*; import java.util.*; /** * A {@link javax.swing.JTable} for displaying and editing the contents of a {@link DataBasket}. * * @author Steffen Zschaler * @version 2.0 23/08/1999 * @since v2.0 */ public class JDataBasketTable extends JAbstractTable { /** * Create a new JDataBasketTable. * * @param db the DataBasket to displayed. * @param dbc a condition selecting the DataBasketEntries to be selected. * @param dbeg a strategy grouping individual DataBasketEntries together for display. * @param cmp a Comparator defining the sort order. If <code>null</code>, the DataBasketEntries are ordered * first by their main and then by their secondary keys. * @param ted a TableEntryDescriptor that can split DataBasketEntries into a table's cells. */ public JDataBasketTable (DataBasket db, DataBasketCondition dbc, DataBasketEntryGrouper dbeg, Comparator cmp, TableEntryDescriptor ted) { super (new DataBasketTableModel (db, dbc, dbeg, cmp, ted)); } }