Пример #1
0
 /**
  * Creates a place holding label cell
  *
  * @param rowSpan the row span the cell should be
  * @return a table cell holding a place holding label cell
  */
 protected AccountingLineTableCell getLabelCell() {
   AccountingLineTableCell cell = new AccountingLineTableCell();
   cell.setColSpan(colSpan);
   cell.setRendersAsHeader(true);
   cell.addRenderableElement(createHeaderLabel());
   return cell;
 }
 /**
  * Creates a header cell for for the given field
  *
  * @param field the field to create a header cell for
  * @return a header cell
  */
 protected AccountingLineTableCell createHeaderCellForField(AccountingLineViewField field) {
   AccountingLineTableCell headerCell = new AccountingLineTableCell();
   headerCell.setRendersAsHeader(true);
   headerCell.addRenderableElement(field.createHeaderLabel());
   return headerCell;
 }