- java.lang.Object
-
- ca.ubc.ece.flowable.reports.pages.BorderCell
-
- All Implemented Interfaces:
com.itextpdf.text.pdf.PdfPCellEvent
public class BorderCell extends java.lang.Object implements com.itextpdf.text.pdf.PdfPCellEvent
Class for creating the cell border.
-
-
Field Summary
Fields Modifier and Type Field Description static float
THICK_BORDER
The value for a thick border.static float
THIN_BORDER
The value for a thin border.
-
Constructor Summary
Constructors Constructor Description BorderCell(int border, float lineWidth)
Constructor for this class.
-
Method Summary
Modifier and Type Method Description void
cellLayout(com.itextpdf.text.pdf.PdfPCell cell, com.itextpdf.text.Rectangle position, com.itextpdf.text.pdf.PdfContentByte[] canvases)
Creates the formatting for the cell.
-
-
-
Field Detail
-
THICK_BORDER
public static final float THICK_BORDER
The value for a thick border.- See Also:
- Constant Field Values
-
THIN_BORDER
public static final float THIN_BORDER
The value for a thin border.- See Also:
- Constant Field Values
-
-
Method Detail
-
cellLayout
public void cellLayout(com.itextpdf.text.pdf.PdfPCell cell, com.itextpdf.text.Rectangle position, com.itextpdf.text.pdf.PdfContentByte[] canvases)
Creates the formatting for the cell.- Specified by:
cellLayout
in interfacecom.itextpdf.text.pdf.PdfPCellEvent
- Parameters:
cell
- the cellposition
- the position of the cellcanvases
- the canvases for the cell
-
-