Пример #1
0
 /*
  * 获取表格高度
  */
 private int getTableHigh() {
   int tableHigh = 0;
   for (ColumnDefine columnDefine : columnDefineArray) {
     tableHigh = max(tableHigh, columnDefine.getHigh());
   }
   return tableHigh;
 }
Пример #2
0
 private String getData(int rowIndex, ColumnDefine columnDefine) {
   return columnDefine.getHigh() <= rowIndex ? EMPTY : columnDefine.dataList.get(rowIndex);
 }