Java Doc for SimpleCell.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.SimpleCell

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


Field Summary
final public static  booleanCELL
     the CellAttributes object represents a cell.
final public static  booleanROW
     the CellAttributes object represents a row.
protected  booleanuseAscender
     Indicates that the largest ascender height should be used to determine the height of the first line.
protected  booleanuseBorderPadding
     Adjusts the cell contents to compensate for border widths.
protected  booleanuseDescender
     Indicates that the largest descender height should be added to the height of the last line (so characters like y don't dip into the border).

Constructor Summary
public  SimpleCell(boolean row)
     A CellAttributes object is always constructed without any dimensions.

Method Summary
public  booleanadd(Object o)
    
public  voidaddElement(Element element)
     Adds content to this object.
public  voidcellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
    
public  CellcreateCell(SimpleCell rowAttributes)
     Creates a Cell with these attributes.
public  PdfPCellcreatePdfPCell(SimpleCell rowAttributes)
     Creates a PdfPCell with these attributes.
public  intgetColspan()
    
 ArrayListgetContent()
    
public static  SimpleCellgetDimensionlessInstance(Rectangle rectangle, float spacing)
    
public  intgetHorizontalAlignment()
    
public  floatgetPadding_bottom()
    
public  floatgetPadding_left()
    
public  floatgetPadding_right()
    
public  floatgetPadding_top()
    
public  floatgetSpacing_bottom()
    
public  floatgetSpacing_left()
    
public  floatgetSpacing_right()
    
public  floatgetSpacing_top()
    
public  intgetVerticalAlignment()
    
public  floatgetWidth()
    
public  floatgetWidthpercentage()
    
public  booleanisCellgroup()
    
public  booleanisUseAscender()
    
public  booleanisUseBorderPadding()
    
public  booleanisUseDescender()
    
public  voidsetCellgroup(boolean cellgroup)
    
public  voidsetColspan(int colspan)
    
public  voidsetHorizontalAlignment(int horizontalAlignment)
    
public  voidsetPadding(float padding)
     Sets the padding parameters if they are undefined.
public  voidsetPadding_bottom(float padding_bottom)
    
public  voidsetPadding_left(float padding_left)
    
public  voidsetPadding_right(float padding_right)
    
public  voidsetPadding_top(float padding_top)
    
public  voidsetSpacing(float spacing)
    
public  voidsetSpacing_bottom(float spacing)
    
public  voidsetSpacing_left(float spacing)
    
public  voidsetSpacing_right(float spacing)
    
public  voidsetSpacing_top(float spacing)
    
public  voidsetUseAscender(boolean useAscender)
    
public  voidsetUseBorderPadding(boolean useBorderPadding)
    
public  voidsetUseDescender(boolean useDescender)
    
public  voidsetVerticalAlignment(int verticalAlignment)
    
public  voidsetWidth(float width)
    
public  voidsetWidthpercentage(float widthpercentage)
    
public  inttype()
    

Field Detail
CELL
final public static boolean CELL(Code)
the CellAttributes object represents a cell.



ROW
final public static boolean ROW(Code)
the CellAttributes object represents a row.



useAscender
protected boolean useAscender(Code)
Indicates that the largest ascender height should be used to determine the height of the first line. Note that this only has an effect when rendered to PDF. Setting this to true can help with vertical alignment problems.



useBorderPadding
protected boolean useBorderPadding(Code)
Adjusts the cell contents to compensate for border widths. Note that this only has an effect when rendered to PDF.



useDescender
protected boolean useDescender(Code)
Indicates that the largest descender height should be added to the height of the last line (so characters like y don't dip into the border). Note that this only has an effect when rendered to PDF.




Constructor Detail
SimpleCell
public SimpleCell(boolean row)(Code)
A CellAttributes object is always constructed without any dimensions. Dimensions are defined after creation.
Parameters:
  row - only true if the CellAttributes object represents a row.




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

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



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



cellLayout
public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)(Code)

See Also:   com.lowagie.text.pdf.PdfPCellEvent.cellLayout(com.lowagie.text.pdf.PdfPCellcom.lowagie.text.Rectanglecom.lowagie.text.pdf.PdfContentByte[])



createCell
public Cell createCell(SimpleCell rowAttributes) throws BadElementException(Code)
Creates a Cell with these attributes.
Parameters:
  rowAttributes - a cell based on these attributes.
throws:
  BadElementException -



createPdfPCell
public PdfPCell createPdfPCell(SimpleCell rowAttributes)(Code)
Creates a PdfPCell with these attributes.
Parameters:
  rowAttributes - a PdfPCell based on these attributes.



getColspan
public int getColspan()(Code)
Returns the colspan.



getContent
ArrayList getContent()(Code)
Returns the content.



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

Parameters:
  rectangle -
Parameters:
  spacing - a rectangle



getHorizontalAlignment
public int getHorizontalAlignment()(Code)
Returns the horizontal alignment.



getPadding_bottom
public float getPadding_bottom()(Code)
Returns the padding_bottom.



getPadding_left
public float getPadding_left()(Code)
Returns the padding_left.



getPadding_right
public float getPadding_right()(Code)
Returns the padding_right.



getPadding_top
public float getPadding_top()(Code)
Returns the padding_top.



getSpacing_bottom
public float getSpacing_bottom()(Code)
Returns the spacing.



getSpacing_left
public float getSpacing_left()(Code)
Returns the spacing.



getSpacing_right
public float getSpacing_right()(Code)
Returns the spacing.



getSpacing_top
public float getSpacing_top()(Code)
Returns the spacing.



getVerticalAlignment
public int getVerticalAlignment()(Code)
Returns the vertical alignment.



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



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



isCellgroup
public boolean isCellgroup()(Code)
Returns the cellgroup.



isUseAscender
public boolean isUseAscender()(Code)
Returns the useAscender.



isUseBorderPadding
public boolean isUseBorderPadding()(Code)
Returns the useBorderPadding.



isUseDescender
public boolean isUseDescender()(Code)
Returns the useDescender.



setCellgroup
public void setCellgroup(boolean cellgroup)(Code)

Parameters:
  cellgroup - The cellgroup to set.



setColspan
public void setColspan(int colspan)(Code)

Parameters:
  colspan - The colspan to set.



setHorizontalAlignment
public void setHorizontalAlignment(int horizontalAlignment)(Code)

Parameters:
  horizontalAlignment - The horizontalAlignment to set.



setPadding
public void setPadding(float padding)(Code)
Sets the padding parameters if they are undefined. padding



setPadding_bottom
public void setPadding_bottom(float padding_bottom)(Code)

Parameters:
  padding_bottom - The padding_bottom to set.



setPadding_left
public void setPadding_left(float padding_left)(Code)

Parameters:
  padding_left - The padding_left to set.



setPadding_right
public void setPadding_right(float padding_right)(Code)

Parameters:
  padding_right - The padding_right to set.



setPadding_top
public void setPadding_top(float padding_top)(Code)

Parameters:
  padding_top - The padding_top to set.



setSpacing
public void setSpacing(float spacing)(Code)

Parameters:
  spacing - The spacing to set.



setSpacing_bottom
public void setSpacing_bottom(float spacing)(Code)

Parameters:
  spacing - The spacing to set.



setSpacing_left
public void setSpacing_left(float spacing)(Code)

Parameters:
  spacing - The spacing to set.



setSpacing_right
public void setSpacing_right(float spacing)(Code)

Parameters:
  spacing - The spacing to set.



setSpacing_top
public void setSpacing_top(float spacing)(Code)

Parameters:
  spacing - The spacing to set.



setUseAscender
public void setUseAscender(boolean useAscender)(Code)

Parameters:
  useAscender - The useAscender to set.



setUseBorderPadding
public void setUseBorderPadding(boolean useBorderPadding)(Code)

Parameters:
  useBorderPadding - The useBorderPadding to set.



setUseDescender
public void setUseDescender(boolean useDescender)(Code)

Parameters:
  useDescender - The useDescender to set.



setVerticalAlignment
public void setVerticalAlignment(int verticalAlignment)(Code)

Parameters:
  verticalAlignment - The verticalAligment 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.



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.