Class PdfTable

java.lang.Object
com.lowagie.text.Rectangle
com.lowagie.text.pdf.PdfTable
All Implemented Interfaces:
Element

public class PdfTable extends Rectangle
PdfTable is an object that contains the graphics and text of a table.
See Also:
  • Field Details

    • table

      protected Table table
      Original table used to build this object
    • positions

      protected float[] positions
      Cached column widths.
  • Method Details

    • type

      public int type()
      Description copied from class: Rectangle
      Gets the type of the text element.
      Specified by:
      type in interface Element
      Overrides:
      type in class Rectangle
      Returns:
      a type
      See Also:
    • hasToFitPageTable

      public final boolean hasToFitPageTable()
      Checks if this Table has to fit a page.
      Returns:
      true if the table may not be split
    • hasToFitPageCells

      public final boolean hasToFitPageCells()
      Checks if the cells of this Table have to fit a page.
      Returns:
      true if the cells may not be split
    • getOffset

      public float getOffset()
      Gets the offset of this table.
      Returns:
      the space between this table and the previous element.