com.lowagie.text.pdf
Class PdfTable

java.lang.Object
  extended bycom.lowagie.text.Rectangle
      extended bycom.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
 
Fields inherited from class com.lowagie.text.Rectangle
BOTTOM, BOX, LEFT, NO_BORDER, RIGHT, TOP, UNDEFINED
 
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, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.