Java Doc for PdfCell.java in  » PDF » pdf-itext » com » lowagie » text » pdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » pdf itext » com.lowagie.text.pdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.lowagie.text.Rectangle
      com.lowagie.text.pdf.PdfCell

PdfCell
public class PdfCell extends Rectangle (Code)
A PdfCell is the PDF translation of a Cell.

A PdfCell is an ArrayList of PdfLines.

When using variable borders ( com.lowagie.text.Rectangle.isUseVariableBorders isUseVariableBorders() == true), the borders are drawn completely inside the cell Rectangle so that adjacent cell borders will not overlap. Otherwise, the borders are drawn on top of the edges of the cell Rectangle and will overlap the borders of adjacent cells.
See Also:   com.lowagie.text.Rectangle
See Also:   com.lowagie.text.Cell
See Also:   PdfLine
See Also:   PdfTable




Constructor Summary
public  PdfCell(Cell cell, int rownumber, float left, float right, float top, float cellspacing, float cellpadding)
     Constructs a PdfCell-object.

Method Summary
public  floatbottom()
     Returns the lower left y-coordinate.
public  floatcellpadding()
     Gets the cellpadding of a cell..
public  floatcellspacing()
     Gets the cellspacing of a cell.
public  floatgetBottom()
     Returns the lower left y-coordinate.
public  intgetGroupNumber()
     Gets the number of the group this cell is in..
public  ArrayListgetImages(float top, float bottom)
     Gets the images of a cell that can be drawn between certain limits.
public  floatgetLeft()
     Returns the lower left x-coordinaat.
public  ArrayListgetLines(float top, float bottom)
     Gets the lines of a cell that can be drawn between certain limits.
public  floatgetRight()
     Returns the upper right x-coordinate.
public  floatgetTop()
     Returns the upper right y-coordinate.
 booleanisHeader()
     Checks if this cell belongs to the header of a PdfTable.
public  booleanisUseAscender()
    
public  booleanisUseBorderPadding()
     Gets the value of PdfCell.useBorderPadding .
public  booleanisUseDescender()
    
public  floatleading()
     Gets the leading of a cell.
public  floatleft()
     Returns the lower left x-coordinaat.
 booleanmayBeRemoved()
     Checks if the cell may be removed.
protected  voidprocessActions(Element element, PdfAction action, ArrayList allActions)
     Processes all actions contained in the cell.
public  Rectanglerectangle(float top, float bottom)
     Gets a Rectangle that is altered to fit on the page.
public  floatremainingHeight()
     Returns the height needed to draw the remaining text.
public  intremainingLines()
     Returns the number of lines in the cell that are not empty.
public  floatright()
     Returns the upper right x-coordinate.
public  intrownumber()
     Gets the number of the row this cell is in..
public  introwspan()
     Gets the rowspan of a cell.
public  voidsetBottom(float value)
     Sets the bottom of the Rectangle and determines the proper {link #verticalOffset} to appropriately align the contents vertically.
 voidsetGroupNumber(int number)
     Sets the group number.
 voidsetHeader()
     Indicates that this cell belongs to the header of a PdfTable.
public  voidsetUseAscender(boolean use)
     Sets the value of PdfCell.useAscender .
public  voidsetUseBorderPadding(boolean use)
     Sets the value of PdfCell.useBorderPadding .
public  voidsetUseDescender(boolean use)
     Sets the value of PdfCell.useDescender .
public  intsize()
     Returns the number of lines in the cell.
public  floattop()
     Returns the upper right y-coordinate.


Constructor Detail
PdfCell
public PdfCell(Cell cell, int rownumber, float left, float right, float top, float cellspacing, float cellpadding)(Code)
Constructs a PdfCell-object.
Parameters:
  cell - the original Cell
Parameters:
  rownumber - the number of the Row the Cell was in.
Parameters:
  left - the left border of the PdfCell
Parameters:
  right - the right border of the PdfCell
Parameters:
  top - the top border of the PdfCell
Parameters:
  cellspacing - the cellspacing of the Table
Parameters:
  cellpadding - the cellpadding of the Table




Method Detail
bottom
public float bottom()(Code)
Returns the lower left y-coordinate. the lower left y-coordinatePdfCell.getBottom()



cellpadding
public float cellpadding()(Code)
Gets the cellpadding of a cell.. a value



cellspacing
public float cellspacing()(Code)
Gets the cellspacing of a cell. a value



getBottom
public float getBottom()(Code)
Returns the lower left y-coordinate. the lower left y-coordinate



getGroupNumber
public int getGroupNumber()(Code)
Gets the number of the group this cell is in.. a number



getImages
public ArrayList getImages(float top, float bottom)(Code)
Gets the images of a cell that can be drawn between certain limits.

Remark: all the lines that can be drawn are removed from the object!
Parameters:
  top - the top of the part of the table that can be drawn
Parameters:
  bottom - the bottom of the part of the table that can be drawn an ArrayList of Images




getLeft
public float getLeft()(Code)
Returns the lower left x-coordinaat. the lower left x-coordinaat



getLines
public ArrayList getLines(float top, float bottom)(Code)
Gets the lines of a cell that can be drawn between certain limits.

Remark: all the lines that can be drawn are removed from the object!
Parameters:
  top - the top of the part of the table that can be drawn
Parameters:
  bottom - the bottom of the part of the table that can be drawn an ArrayList of PdfLines




getRight
public float getRight()(Code)
Returns the upper right x-coordinate. the upper right x-coordinate



getTop
public float getTop()(Code)
Returns the upper right y-coordinate. the upper right y-coordinate



isHeader
boolean isHeader()(Code)
Checks if this cell belongs to the header of a PdfTable. void



isUseAscender
public boolean isUseAscender()(Code)
Gets the value of PdfCell.useAscender useAscender



isUseBorderPadding
public boolean isUseBorderPadding()(Code)
Gets the value of PdfCell.useBorderPadding . useBorderPadding



isUseDescender
public boolean isUseDescender()(Code)
gets the value of PdfCell.useDescender useDescender



leading
public float leading()(Code)
Gets the leading of a cell. the leading of the lines is the cell.



left
public float left()(Code)
Returns the lower left x-coordinaat. the lower left x-coordinaatPdfCell.getLeft()



mayBeRemoved
boolean mayBeRemoved()(Code)
Checks if the cell may be removed.

Headers may allways be removed, even if they are drawn only partially: they will be repeated on each following page anyway! true if all the lines are allready drawn; false otherwise.




processActions
protected void processActions(Element element, PdfAction action, ArrayList allActions)(Code)
Processes all actions contained in the cell.
Parameters:
  element - an element in the cell
Parameters:
  action - an action that should be coupled to the cell
Parameters:
  allActions -



rectangle
public Rectangle rectangle(float top, float bottom)(Code)
Gets a Rectangle that is altered to fit on the page.
Parameters:
  top - the top position
Parameters:
  bottom - the bottom position a Rectangle



remainingHeight
public float remainingHeight()(Code)
Returns the height needed to draw the remaining text. a height



remainingLines
public int remainingLines()(Code)
Returns the number of lines in the cell that are not empty. a value



right
public float right()(Code)
Returns the upper right x-coordinate. the upper right x-coordinatePdfCell.getRight()



rownumber
public int rownumber()(Code)
Gets the number of the row this cell is in.. a number



rowspan
public int rowspan()(Code)
Gets the rowspan of a cell. the rowspan of the cell



setBottom
public void setBottom(float value)(Code)
Sets the bottom of the Rectangle and determines the proper {link #verticalOffset} to appropriately align the contents vertically.
Parameters:
  value -



setGroupNumber
void setGroupNumber(int number)(Code)
Sets the group number.
Parameters:
  number -



setHeader
void setHeader()(Code)
Indicates that this cell belongs to the header of a PdfTable.



setUseAscender
public void setUseAscender(boolean use)(Code)
Sets the value of PdfCell.useAscender .
Parameters:
  use - use ascender height if true



setUseBorderPadding
public void setUseBorderPadding(boolean use)(Code)
Sets the value of PdfCell.useBorderPadding .
Parameters:
  use - adjust layour for borders if true



setUseDescender
public void setUseDescender(boolean use)(Code)
Sets the value of PdfCell.useDescender .
Parameters:
  use - use descender height if true



size
public int size()(Code)
Returns the number of lines in the cell. a value



top
public float top()(Code)
Returns the upper right y-coordinate. the upper right y-coordinatePdfCell.getTop()



Fields inherited from com.lowagie.text.Rectangle
final public static int BOTTOM(Code)(Java Doc)
final public static int BOX(Code)(Java Doc)
final public static int LEFT(Code)(Java Doc)
final public static int NO_BORDER(Code)(Java Doc)
final public static int RIGHT(Code)(Java Doc)
final public static int TOP(Code)(Java Doc)
final public static int UNDEFINED(Code)(Java Doc)
protected Color backgroundColor(Code)(Java Doc)
protected int border(Code)(Java Doc)
protected Color borderColor(Code)(Java Doc)
protected Color borderColorBottom(Code)(Java Doc)
protected Color borderColorLeft(Code)(Java Doc)
protected Color borderColorRight(Code)(Java Doc)
protected Color borderColorTop(Code)(Java Doc)
protected float borderWidth(Code)(Java Doc)
protected float borderWidthBottom(Code)(Java Doc)
protected float borderWidthLeft(Code)(Java Doc)
protected float borderWidthRight(Code)(Java Doc)
protected float borderWidthTop(Code)(Java Doc)
protected float llx(Code)(Java Doc)
protected float lly(Code)(Java Doc)
protected int rotation(Code)(Java Doc)
protected float urx(Code)(Java Doc)
protected float ury(Code)(Java Doc)
protected boolean useVariableBorders(Code)(Java Doc)

Methods inherited from com.lowagie.text.Rectangle
public Color backgroundColor()(Code)(Java Doc)
public int border()(Code)(Java Doc)
public Color borderColor()(Code)(Java Doc)
public float borderWidth()(Code)(Java Doc)
public float bottom()(Code)(Java Doc)
public float bottom(float margin)(Code)(Java Doc)
public void cloneNonPositionParameters(Rectangle rect)(Code)(Java Doc)
public void disableBorderSide(int side)(Code)(Java Doc)
public void enableBorderSide(int side)(Code)(Java Doc)
public Color getBackgroundColor()(Code)(Java Doc)
public int getBorder()(Code)(Java Doc)
public Color getBorderColor()(Code)(Java Doc)
public Color getBorderColorBottom()(Code)(Java Doc)
public Color getBorderColorLeft()(Code)(Java Doc)
public Color getBorderColorRight()(Code)(Java Doc)
public Color getBorderColorTop()(Code)(Java Doc)
public float getBorderWidth()(Code)(Java Doc)
public float getBorderWidthBottom()(Code)(Java Doc)
public float getBorderWidthLeft()(Code)(Java Doc)
public float getBorderWidthRight()(Code)(Java Doc)
public float getBorderWidthTop()(Code)(Java Doc)
public float getBottom()(Code)(Java Doc)
public float getBottom(float margin)(Code)(Java Doc)
public ArrayList getChunks()(Code)(Java Doc)
public float getGrayFill()(Code)(Java Doc)
public float getHeight()(Code)(Java Doc)
public float getLeft()(Code)(Java Doc)
public float getLeft(float margin)(Code)(Java Doc)
public float getRight()(Code)(Java Doc)
public float getRight(float margin)(Code)(Java Doc)
public int getRotation()(Code)(Java Doc)
public float getTop()(Code)(Java Doc)
public float getTop(float margin)(Code)(Java Doc)
public float getWidth()(Code)(Java Doc)
public float grayFill()(Code)(Java Doc)
public boolean hasBorder(int type)(Code)(Java Doc)
public boolean hasBorders()(Code)(Java Doc)
public float height()(Code)(Java Doc)
public boolean isUseVariableBorders()(Code)(Java Doc)
public float left()(Code)(Java Doc)
public float left(float margin)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public boolean process(ElementListener listener)(Code)(Java Doc)
public Rectangle rectangle(float top, float bottom)(Code)(Java Doc)
public float right()(Code)(Java Doc)
public float right(float margin)(Code)(Java Doc)
public Rectangle rotate()(Code)(Java Doc)
public void setBackgroundColor(Color value)(Code)(Java Doc)
public void setBorder(int value)(Code)(Java Doc)
public void setBorderColor(Color value)(Code)(Java Doc)
public void setBorderColorBottom(Color value)(Code)(Java Doc)
public void setBorderColorLeft(Color value)(Code)(Java Doc)
public void setBorderColorRight(Color value)(Code)(Java Doc)
public void setBorderColorTop(Color value)(Code)(Java Doc)
public void setBorderWidth(float value)(Code)(Java Doc)
public void setBorderWidthBottom(float borderWidthBottom)(Code)(Java Doc)
public void setBorderWidthLeft(float borderWidthLeft)(Code)(Java Doc)
public void setBorderWidthRight(float borderWidthRight)(Code)(Java Doc)
public void setBorderWidthTop(float borderWidthTop)(Code)(Java Doc)
public void setBottom(float value)(Code)(Java Doc)
public void setGrayFill(float value)(Code)(Java Doc)
public void setLeft(float value)(Code)(Java Doc)
public void setRight(float value)(Code)(Java Doc)
public void setTop(float value)(Code)(Java Doc)
public void setUseVariableBorders(boolean useVariableBorders)(Code)(Java Doc)
public void softCloneNonPositionParameters(Rectangle rect)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public float top()(Code)(Java Doc)
public float top(float margin)(Code)(Java Doc)
public int type()(Code)(Java Doc)
public float width()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.