@SuppressWarnings("unchecked")
  public List<ZcEbEvalReport> getCheckedList() {

    List<ZcEbEvalReport> beanList = new ArrayList<ZcEbEvalReport>();

    JGroupableTable table = topDataDisplay.getActiveTableDisplay().getTable();

    MyTableModel model = (MyTableModel) table.getModel();

    // Modal的数据

    List list = model.getList();

    Integer[] checkedRows = table.getCheckedRows();

    for (Integer checkedRow : checkedRows) {

      int accordDataRow = table.convertRowIndexToModel(checkedRow);

      ZcEbEvalReport bean = (ZcEbEvalReport) list.get(accordDataRow);

      beanList.add(bean);
    }

    return beanList;
  }
Ejemplo n.º 2
0
package com.ufgov.zc.client.zc.auditsheet;