01: package org.conform;
02:
03: import javax.swing.table.TableModel;
04: import java.util.*;
05:
06: /**
07: * @author hengels
08: * @version $Revision: 753 $
09: */
10: public interface TableData extends Data, TableModel {
11: List getRows();
12:
13: void setRows(List rows);
14:
15: int getRowCount();
16:
17: Object newRow();
18:
19: void addRow(Object object);
20:
21: Object removeRow(int index);
22:
23: BeanData getRowData(int rowIndex);
24:
25: PropertyData getCellData(int rowIndex, int columnIndex);
26:
27: PropertyData getCellData(int rowIndex, String propertyName);
28:
29: BeanMeta getBeanMeta();
30: }
|