Java Doc for SimpleTable.java in  » PDF » pdf-itext » com » lowagie » text » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.lowagie.text.Rectangle
      com.lowagie.text.SimpleTable

SimpleTable
public class SimpleTable extends Rectangle implements PdfPTableEvent,TextElementArray(Code)
Rectangle that can be used for Cells. This Rectangle is padded and knows how to draw itself in a PdfPTable or PdfPcellEvent.



Constructor Summary
public  SimpleTable()
     A RectangleCell is always constructed without any dimensions.

Method Summary
public  booleanadd(Object o)
    
public  voidaddElement(SimpleCell element)
     Adds content to this object.
public  PdfPTablecreatePdfPTable()
     Creates a PdfPTable object based on this TableAttributes object.
public  TablecreateTable()
     Creates a Table object based on this TableAttributes object.
public  intgetAlignment()
    
public  floatgetCellpadding()
    
public  floatgetCellspacing()
    
public static  SimpleTablegetDimensionlessInstance(Rectangle rectangle, float spacing)
    
public  floatgetWidth()
    
public  floatgetWidthpercentage()
    
public  voidsetAlignment(int alignment)
    
public  voidsetCellpadding(float cellpadding)
    
public  voidsetCellspacing(float cellspacing)
    
public  voidsetWidth(float width)
    
public  voidsetWidthpercentage(float widthpercentage)
    
public  voidtableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)
    
public  inttype()
    


Constructor Detail
SimpleTable
public SimpleTable()(Code)
A RectangleCell is always constructed without any dimensions. Dimensions are defined after creation.




Method Detail
add
public boolean add(Object o)(Code)

See Also:   com.lowagie.text.TextElementArray.add(java.lang.Object)



addElement
public void addElement(SimpleCell element) throws BadElementException(Code)
Adds content to this object.
Parameters:
  element -
throws:
  BadElementException -



createPdfPTable
public PdfPTable createPdfPTable() throws DocumentException(Code)
Creates a PdfPTable object based on this TableAttributes object. a com.lowagie.text.pdf.PdfPTable object
throws:
  DocumentException -



createTable
public Table createTable() throws BadElementException(Code)
Creates a Table object based on this TableAttributes object. a com.lowagie.text.Table object
throws:
  BadElementException -



getAlignment
public int getAlignment()(Code)
Returns the alignment.



getCellpadding
public float getCellpadding()(Code)
Returns the cellpadding.



getCellspacing
public float getCellspacing()(Code)
Returns the cellspacing.



getDimensionlessInstance
public static SimpleTable getDimensionlessInstance(Rectangle rectangle, float spacing)(Code)

Parameters:
  rectangle -
Parameters:
  spacing - a rectangle



getWidth
public float getWidth()(Code)
Returns the width.



getWidthpercentage
public float getWidthpercentage()(Code)
Returns the widthpercentage.



setAlignment
public void setAlignment(int alignment)(Code)

Parameters:
  alignment - The alignment to set.



setCellpadding
public void setCellpadding(float cellpadding)(Code)

Parameters:
  cellpadding - The cellpadding to set.



setCellspacing
public void setCellspacing(float cellspacing)(Code)

Parameters:
  cellspacing - The cellspacing to set.



setWidth
public void setWidth(float width)(Code)

Parameters:
  width - The width to set.



setWidthpercentage
public void setWidthpercentage(float widthpercentage)(Code)

Parameters:
  widthpercentage - The widthpercentage to set.



tableLayout
public void tableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)(Code)

See Also:   com.lowagie.text.pdf.PdfPTableEvent.tableLayout(com.lowagie.text.pdf.PdfPTablefloat[][]float[]intintcom.lowagie.text.pdf.PdfContentByte[])



type
public int type()(Code)

See Also:   com.lowagie.text.Element.type



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.