예제 #1
0
 public static DataRowProxy create(DataRow dr, int colCount, BaseCastGraph cg) {
   DataRowProxy res = new DataRowProxy();
   res.dr = dr;
   res.castGr = cg;
   res.colCount = colCount;
   return res;
 }
예제 #2
0
 public List<DataRowProxy> getRows() {
   ArrayList<DataRowProxy> rows = new ArrayList<DataRowProxy>();
   for (DataRow dr : tableData.getRows()) {
     rows.add(DataRowProxy.create(dr, tableData.getColumns().size(), castGr));
   }
   return rows;
 }