/** * 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 an empty cell to pad out the place typically held for a cell * * @return an empty table cell that spans two columns */ protected AccountingLineTableCell createPaddingCell() { AccountingLineTableCell cell = new AccountingLineTableCell(); cell.setColSpan(2); cell.setNeverEmpty(true); return cell; }
/** * Returns an empty table cell, colspan cells wide * * @param rowSpan the number of rows this cell should span * @return an empty accounting line table cell that will fill up the space */ protected AccountingLineTableCell getPlaceHoldingCell() { AccountingLineTableCell cell = new AccountingLineTableCell(); cell.setColSpan(colSpan); cell.addRenderableElement(createHeaderLabel()); return cell; }