01: /* $Id: Table.java 718 2006-10-24 09:19:20Z hengels $ */
02: package org.conform.wings;
03:
04: import org.conform.AbstractTableData;
05: import org.conform.TableData;
06: import org.wingx.XTable;
07:
08: public class Table extends XTable {
09: public Table() {
10: }
11:
12: public Table(AbstractTableData tableData) {
13: setTableData(tableData);
14: }
15:
16: public void setTableData(TableData tableData) {
17: setColumnModel(new BeanColumnModel(tableData.getBeanMeta()));
18: setModel(tableData);
19: }
20: }
|