// $Id: JUserTable.java,v 1.3 2001/06/22 10:17:59 tm11 Exp $

/*
 * JUserTable.java
 *
 * Created on 12. Juni 2001, 17:30
 */

package users.swing;

import javax.swing.table.*;
import javax.swing.*;

import java.util.Comparator;

import users.*;

import util.swing.*;

/**
  * A {@link JTable} for displaying and editing the contents of a {@link UserManager}.
  *
  * @author Thomas Medack
  * @version 3.0 12/06/2001
  * @since v3.0
  */
public class JUserTable extends util.swing.JAbstractTable {

    /**
      * Create a new JUserTable.
      *
      * @param u the UserManager to be displayed.
      * @param cmp a Comparator defining the sort order. If <code>null</code>, the Users are ordered in
      * their natural order.
      * @param ted a TableEntryDescriptor that can split CatalogItems into a table's cells.
      */
    public JUserTable (UserManager u,
                       UserTableModel.UserComparator cmp,
                       TableEntryDescriptor ted) {
       
        super (new UserTableModel (u, cmp, ted));
    }
}

/*
 * $Log: JUserTable.java,v $
 * Revision 1.3  2001/06/22 10:17:59  tm11
 * Fehlerkorrektur-TwoTableFormSheet(StockFilter), UserTableModel
 * (Comparators), SalesPoint(quit-Methode).
 *
 * Revision 1.2  2001/06/13 10:29:53  tm11
 * Kleine Änderungen(nichts inhaltliches)
 *
 */