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

All known Subclasses:   com.lowagie.text.rtf.headerfooter.RtfHeaderFooterGroup,  com.lowagie.text.rtf.RtfHeaderFooters,  com.lowagie.text.rtf.RtfHeaderFooter,  com.lowagie.text.rtf.headerfooter.RtfHeaderFooter,
HeaderFooter
public class HeaderFooter extends Rectangle (Code)
A HeaderFooter-object is a Rectangle with text that can be put above and/or below every page.

Example:

 HeaderFooter header = new HeaderFooter(new Phrase("This is a header."), false);
 HeaderFooter footer = new HeaderFooter(new Phrase("This is page "), new Phrase("."));
 document.setHeader(header);
 document.setFooter(footer);
 



Constructor Summary
public  HeaderFooter(Phrase before, Phrase after)
     Constructs a HeaderFooter-object.
public  HeaderFooter(Phrase before, boolean numbered)
     Constructs a Header-object with a pagenumber at the end.

Method Summary
public  intalignment()
     Gets the alignment of this HeaderFooter.
public  PhrasegetAfter()
     Gets the part that comes after the pageNumber.
public  PhrasegetBefore()
     Gets the part that comes before the pageNumber.
public  booleanisNumbered()
     Checks if the HeaderFooter contains a page number.
public  Paragraphparagraph()
     Gets the Paragraph that can be used as header or footer.
public  voidsetAlignment(int alignment)
     Sets the alignment.
public  voidsetPageNumber(int pageN)
     Sets the page number.


Constructor Detail
HeaderFooter
public HeaderFooter(Phrase before, Phrase after)(Code)
Constructs a HeaderFooter-object.
Parameters:
  before - the Phrase before the pagenumber
Parameters:
  after - the Phrase before the pagenumber



HeaderFooter
public HeaderFooter(Phrase before, boolean numbered)(Code)
Constructs a Header-object with a pagenumber at the end.
Parameters:
  before - the Phrase before the pagenumber
Parameters:
  numbered - true if the page has to be numbered




Method Detail
alignment
public int alignment()(Code)
Gets the alignment of this HeaderFooter. alignment



getAfter
public Phrase getAfter()(Code)
Gets the part that comes after the pageNumber. a Phrase



getBefore
public Phrase getBefore()(Code)
Gets the part that comes before the pageNumber. a Phrase



isNumbered
public boolean isNumbered()(Code)
Checks if the HeaderFooter contains a page number. true if the page has to be numbered



paragraph
public Paragraph paragraph()(Code)
Gets the Paragraph that can be used as header or footer. a Paragraph



setAlignment
public void setAlignment(int alignment)(Code)
Sets the alignment.
Parameters:
  alignment - the new alignment



setPageNumber
public void setPageNumber(int pageN)(Code)
Sets the page number.
Parameters:
  pageN - the new page number



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.