}
@Override
public void setValueAt(Object obj, int row, int col) {
try {
DirectoryCertificateTypeItem item = items.get(row);
switch (col) {
case COL_TITLE : {
item.setTitle(obj.toString());
break;
}
case COL_REPORT : {
item.setReportLocal((ReportLocal) obj);
System.out.println("CertificateType.setReport(" + obj + ")");
break;
}
case COL_TRASH: {
item.setVisible(!(Boolean) obj);
break;
}
default: throw new IllegalArgumentException("Wrong position : " + col);
}
fireTableCellUpdated(row, col);