com.lowagie.text.pdf
Class PdfTable

java.lang.Object
  extended by com.lowagie.text.Rectangle
      extended by 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:
Table, Row, Cell, PdfCell

Field Summary
protected  float[] positions
          Cached column widths.
protected  Table table
          Original table used to build this object
 
Fields inherited from class com.lowagie.text.Rectangle
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders
 
Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
 
Method Summary
 float getOffset()
          Gets the offset of this table.
 boolean hasToFitPageCells()
          Checks if the cells of this Table have to fit a page.
 boolean hasToFitPageTable()
          Checks if this Table has to fit a page.
 int type()
          Gets the type of the text element.
 
Methods inherited from class com.lowagie.text.Rectangle
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRight, getRight, getRotation, getTop, getTop, getWidth, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

table

protected Table table
Original table used to build this object


positions

protected float[] positions
Cached column widths.

Method Detail

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:
Element.type()

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.


iText 2.1.7