List of usage examples for com.lowagie.text Table setBorder
public void setBorder(int border)
From source file:org.kuali.kfs.module.tem.pdf.Coversheet.java
License:Open Source License
public Table getExpenses() throws BadElementException { final Table retval = new Table(3); retval.setWidth(100f);//www . j a v a 2 s. c o m retval.setBorder(NO_BORDER); retval.addCell(getHeaderCell("Expenses")); retval.addCell(getHeaderCell("Amount")); retval.addCell(getHeaderCell("Receipt Required?")); retval.endHeaders(); for (final Map<String, String> expense : expenses) { retval.addCell(getBorderlessCell(expense.get("expenseType"))); retval.addCell(getBorderlessCell(expense.get("amount"))); retval.addCell(getBorderlessCell(expense.get("receipt"))); } return retval; }