Java Doc for Chapter.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.util.ArrayList
   com.lowagie.text.Section
      com.lowagie.text.Chapter

All known Subclasses:   com.lowagie.text.ChapterAutoNumber,
Chapter
public class Chapter extends Section (Code)
A Chapter is a special Section.

A chapter number has to be created using a Paragraph as title and an int as chapter number. The chapter number is shown be default. If you don't want to see the chapter number, you have to set the numberdepth to 0.

Example:

 Paragraph title2 = new Paragraph("This is Chapter 2", FontFactory.getFont(FontFactory.HELVETICA, 18, Font.BOLDITALIC, new Color(0, 0, 255)));
 Chapter chapter2 = new Chapter(title2, 2);
 chapter2.setNumberDepth(0);
 Paragraph someText = new Paragraph("This is some text");
 chapter2.add(someText);
 Paragraph title21 = new Paragraph("This is Section 1 in Chapter 2", FontFactory.getFont(FontFactory.HELVETICA, 16, Font.BOLD, new Color(255, 0, 0)));
 Section section1 = chapter2.addSection(title21);
 Paragraph someSectionText = new Paragraph("This is some silly paragraph in a chapter and/or section. It contains some text to test the functionality of Chapters and Section.");
 section1.add(someSectionText);
 



Constructor Summary
public  Chapter(int number)
     Constructs a new Chapter.
public  Chapter(Paragraph title, int number)
     Constructs a new Chapter.
public  Chapter(String title, int number)
     Constructs a new Chapter.
public  Chapter(java.util.Properties attributes, int number)
     Creates a new Chapter following a set of attributes.

Method Summary
public  inttype()
     Gets the type of the text element.


Constructor Detail
Chapter
public Chapter(int number)(Code)
Constructs a new Chapter.
Parameters:
  number - the Chapter number



Chapter
public Chapter(Paragraph title, int number)(Code)
Constructs a new Chapter.
Parameters:
  title - the Chapter title (as a Paragraph)
Parameters:
  number - the Chapter number



Chapter
public Chapter(String title, int number)(Code)
Constructs a new Chapter.
Parameters:
  title - the Chapter title (as a String)
Parameters:
  number - the Chapter number



Chapter
public Chapter(java.util.Properties attributes, int number)(Code)
Creates a new Chapter following a set of attributes.
Parameters:
  attributes - the attributes
Parameters:
  number - a userdefined Chapter number




Method Detail
type
public int type()(Code)
Gets the type of the text element. a type



Fields inherited from com.lowagie.text.Section
protected boolean bookmarkOpen(Code)(Java Doc)
protected String bookmarkTitle(Code)(Java Doc)
protected float indentation(Code)(Java Doc)
protected float indentationLeft(Code)(Java Doc)
protected float indentationRight(Code)(Java Doc)
protected int numberDepth(Code)(Java Doc)
protected ArrayList numbers(Code)(Java Doc)
protected int subsections(Code)(Java Doc)
protected Paragraph title(Code)(Java Doc)
protected boolean triggerNewPage(Code)(Java Doc)

Methods inherited from com.lowagie.text.Section
public void add(int index, Object o)(Code)(Java Doc)
public boolean add(Object o)(Code)(Java Doc)
public boolean addAll(Collection collection)(Code)(Java Doc)
public MarkedSection addMarkedSection()(Code)(Java Doc)
public Section addSection(float indentation, Paragraph title, int numberDepth)(Code)(Java Doc)
public Section addSection(float indentation, Paragraph title)(Code)(Java Doc)
public Section addSection(Paragraph title, int numberDepth)(Code)(Java Doc)
public Section addSection(Paragraph title)(Code)(Java Doc)
public Section addSection(float indentation, String title, int numberDepth)(Code)(Java Doc)
public Section addSection(String title, int numberDepth)(Code)(Java Doc)
public Section addSection(float indentation, String title)(Code)(Java Doc)
public Section addSection(String title)(Code)(Java Doc)
public Section addSection(java.util.Properties attributes)(Code)(Java Doc)
public int depth()(Code)(Java Doc)
public Paragraph getBookmarkTitle()(Code)(Java Doc)
public ArrayList getChunks()(Code)(Java Doc)
public int getDepth()(Code)(Java Doc)
public float getIndentation()(Code)(Java Doc)
public float getIndentationLeft()(Code)(Java Doc)
public float getIndentationRight()(Code)(Java Doc)
public int getNumberDepth()(Code)(Java Doc)
public Paragraph getTitle()(Code)(Java Doc)
public float indentation()(Code)(Java Doc)
public float indentationLeft()(Code)(Java Doc)
public float indentationRight()(Code)(Java Doc)
public boolean isBookmarkOpen()(Code)(Java Doc)
public boolean isChapter()(Code)(Java Doc)
public boolean isSection()(Code)(Java Doc)
public boolean isTriggerNewPage()(Code)(Java Doc)
public int numberDepth()(Code)(Java Doc)
public boolean process(ElementListener listener)(Code)(Java Doc)
public void setBookmarkOpen(boolean bookmarkOpen)(Code)(Java Doc)
public void setBookmarkTitle(String bookmarkTitle)(Code)(Java Doc)
public void setChapterNumber(int number)(Code)(Java Doc)
public void setIndentation(float indentation)(Code)(Java Doc)
public void setIndentationLeft(float indentation)(Code)(Java Doc)
public void setIndentationRight(float indentation)(Code)(Java Doc)
public void setNumberDepth(int numberDepth)(Code)(Java Doc)
public void setTitle(Paragraph title)(Code)(Java Doc)
public void setTriggerNewPage(boolean triggerNewPage)(Code)(Java Doc)
public Paragraph title()(Code)(Java Doc)
public int type()(Code)(Java Doc)

Methods inherited from java.util.ArrayList
public boolean add(E e)(Code)(Java Doc)
public void add(int index, E element)(Code)(Java Doc)
public boolean addAll(Collection<? extends E> c)(Code)(Java Doc)
public boolean addAll(int index, Collection<? extends E> c)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean contains(Object o)(Code)(Java Doc)
public void ensureCapacity(int minCapacity)(Code)(Java Doc)
public E get(int index)(Code)(Java Doc)
public int indexOf(Object o)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Iterator<E> iterator()(Code)(Java Doc)
public int lastIndexOf(Object o)(Code)(Java Doc)
public ListIterator<E> listIterator(int index)(Code)(Java Doc)
public ListIterator<E> listIterator()(Code)(Java Doc)
public E remove(int index)(Code)(Java Doc)
public boolean remove(Object o)(Code)(Java Doc)
public boolean removeAll(Collection c)(Code)(Java Doc)
protected void removeRange(int fromIndex, int toIndex)(Code)(Java Doc)
public boolean retainAll(Collection c)(Code)(Java Doc)
public E set(int index, E element)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public List<E> subList(int fromIndex, int toIndex)(Code)(Java Doc)
public Object[] toArray()(Code)(Java Doc)
public T[] toArray(T[] a)(Code)(Java Doc)
public void trimToSize()(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.