Java Doc for PDPageNode.java in  » PDF » jPod » de » intarsys » pdf » pd » 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 » jPod » de.intarsys.pdf.pd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.cos.COSBasedObject
      de.intarsys.pdf.pd.PDObject
         de.intarsys.pdf.pd.PDPageNode

All known Subclasses:   de.intarsys.pdf.pd.PDPageTree,  de.intarsys.pdf.pd.PDPage,
PDPageNode
abstract public class PDPageNode extends PDObject (Code)
An abstract superclass for pages and page tree nodes

Inner Class :public static class MetaClass extends PDObject.MetaClass

Field Summary
final public static  COSNameCN_Type_Page
    
final public static  COSNameDK_Pages
    
final public static  COSNameDK_Parent
    
final public static  COSNameDK_Rotate
    
final public static  MetaClassMETA
    

Constructor Summary
protected  PDPageNode(COSObject object)
     Create the receiver class from an already defined COSDictionary .

Method Summary
abstract protected  voidcollectAnnotations(List annotations)
    
public  voiddispose()
    
abstract public  intgetCount()
     The total number of pages represented by this node.
public  CDSRectanglegetCropBox()
     The rectangle in user space coordinates defining the visible region of the page.
public  PDAnnotationgetFirstAnnotation()
     The first PDAnnotation linked on this page.
abstract public  PDPageNodegetFirstNode()
     Get the first node within the receiver or the receiver if it is not a collection (page tree).
abstract public  PDPagegetFirstPage()
     Get the first page (leaf node) within the receiver hierarchy.
public  PDObjectgetGenericParent()
    
public  PDAnnotationgetLastAnnotation()
     The last PDAnnotation linked on this page.
abstract public  PDPageNodegetLastNode()
     Get the last node within the receiver or the receiver if it is not a collection (page tree).
public  PDPagegetLastPage()
     Get the last page (leaf node) within the receiver hierarchy.
public  CDSRectanglegetMediaBox()
     The rectangle in user space coordinates defining the physical page boundaries.
public  PDPageNodegetNextNode()
     Get the next node after the receiver.
public  intgetNodeIndex()
     The zero based index of this within the document.
public  PDPagegetPageAt(int index)
     The page at index within the receivers subtree.
public  PDPageTreegetParent()
     The parent node if available.
public  PDPageNodegetPreviousNode()
     The previous node .
public  intgetRotate()
     The number of degrees by which the page should be rotated clockwise when displayed or printed.
public  voidinvalidateCaches()
    
abstract public  booleanisPage()
     Answer true if this is a single page node.
public  voidsetCropBox(CDSRectangle rect)
     Set the rectangle in user space coordinates defining the visible region of the page.
public  voidsetGenericParent(PDObject newParent)
    
public  voidsetMediaBox(CDSRectangle rect)
     Set the rectangle in user space coordinates defining the physical page boundaries.
protected  voidsetParent(PDPageTree parent)
     Sets the parent.
public  voidsetRotate(int rotate)
     The number of degrees by which the page should be rotated clockwise when displayed or printed.

Field Detail
CN_Type_Page
final public static COSName CN_Type_Page(Code)



DK_Pages
final public static COSName DK_Pages(Code)



DK_Parent
final public static COSName DK_Parent(Code)



DK_Rotate
final public static COSName DK_Rotate(Code)



META
final public static MetaClass META(Code)
The meta class instance




Constructor Detail
PDPageNode
protected PDPageNode(COSObject object)(Code)
Create the receiver class from an already defined COSDictionary . NEVER use the constructor directly.
Parameters:
  object - the PDDocument containing the new object




Method Detail
collectAnnotations
abstract protected void collectAnnotations(List annotations)(Code)



dispose
public void dispose()(Code)



getCount
abstract public int getCount()(Code)
The total number of pages represented by this node. The total number of pages represented by this node.



getCropBox
public CDSRectangle getCropBox()(Code)
The rectangle in user space coordinates defining the visible region of the page. User space is measured in 1/72 inch initially The rectangle in user space coordinates defining the visibleregion of the page



getFirstAnnotation
public PDAnnotation getFirstAnnotation()(Code)
The first PDAnnotation linked on this page. The first PDAnnotation linked on this page.



getFirstNode
abstract public PDPageNode getFirstNode()(Code)
Get the first node within the receiver or the receiver if it is not a collection (page tree).

This may return null if the receiver is an empty collection.

Get the first node within the receiver or the receiver if it isnot a collection (page tree).



getFirstPage
abstract public PDPage getFirstPage()(Code)
Get the first page (leaf node) within the receiver hierarchy. Get the first page (leaf node) within the receiver hierarchy.



getGenericParent
public PDObject getGenericParent()(Code)



getLastAnnotation
public PDAnnotation getLastAnnotation()(Code)
The last PDAnnotation linked on this page. The last PDAnnotation linked on this page.



getLastNode
abstract public PDPageNode getLastNode()(Code)
Get the last node within the receiver or the receiver if it is not a collection (page tree).

This may return null if the receiver is an empty collection.

Get the last node within the receiver or the receiver if it isnot a collection (page tree).



getLastPage
public PDPage getLastPage()(Code)
Get the last page (leaf node) within the receiver hierarchy. Get the last page (leaf node) within the receiver hierarchy.



getMediaBox
public CDSRectangle getMediaBox()(Code)
The rectangle in user space coordinates defining the physical page boundaries. user space is measured in 1/72 inch initially The rectangle in user space coordinates defining the physicalpage boundaries



getNextNode
public PDPageNode getNextNode()(Code)
Get the next node after the receiver. Get the next node after the receiver.



getNodeIndex
public int getNodeIndex()(Code)
The zero based index of this within the document. The zero based index of this within the document.



getPageAt
public PDPage getPageAt(int index)(Code)
The page at index within the receivers subtree.
Parameters:
  index - The page index The page at index within the receivers subtree.



getParent
public PDPageTree getParent()(Code)
The parent node if available. The root tree node of the document has no parent. The parent node if available.



getPreviousNode
public PDPageNode getPreviousNode()(Code)
The previous node . The previous node.



getRotate
public int getRotate()(Code)
The number of degrees by which the page should be rotated clockwise when displayed or printed. The value must be a multiple of 90. Default value: 0.

Notice: the value is inheritable

Rotation as a multiple of 90



invalidateCaches
public void invalidateCaches()(Code)



isPage
abstract public boolean isPage()(Code)
Answer true if this is a single page node. Answer true if this is a single page node.



setCropBox
public void setCropBox(CDSRectangle rect)(Code)
Set the rectangle in user space coordinates defining the visible region of the page. user space is measured in 1/72 inch initially
Parameters:
  rect - The rectangle defining the visible page region



setGenericParent
public void setGenericParent(PDObject newParent)(Code)



setMediaBox
public void setMediaBox(CDSRectangle rect)(Code)
Set the rectangle in user space coordinates defining the physical page boundaries. user space is measured in 1/72 inch initially
Parameters:
  rect - The rectangle defining the physical page boundaries



setParent
protected void setParent(PDPageTree parent)(Code)
Sets the parent.
Parameters:
  parent - The parent to set



setRotate
public void setRotate(int rotate)(Code)
The number of degrees by which the page should be rotated clockwise when displayed or printed. The value must be a multiple of 90. If a value of 0 is set, which is the default, the field will be cleared.

Notice: This object and its children are affected on a change!


Parameters:
  rotate - A multiple of 90, the value is not checked for a legalvalue



Fields inherited from de.intarsys.pdf.pd.PDObject
final public static COSName DK_Subtype(Code)(Java Doc)
final public static COSName DK_Type(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDObject
protected COSName cosGetExpectedSubtype()(Code)(Java Doc)
protected COSName cosGetExpectedType()(Code)(Java Doc)
public COSObject cosGetFieldDescendant(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInherited(COSName name)(Code)(Java Doc)
final public COSName cosGetSubtype()(Code)(Java Doc)
final public COSName cosGetType()(Code)(Java Doc)
public COSObject cosRemoveFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosSetFieldInheritable(COSName name, COSObject cosObj)(Code)(Java Doc)
final public COSName cosSetSubtype(COSName newType)(Code)(Java Doc)
final public COSName cosSetType(COSName newType)(Code)(Java Doc)
public PDDocument getDoc()(Code)(Java Doc)
public List getGenericChildren()(Code)(Java Doc)
public PDObject getGenericParent()(Code)(Java Doc)
protected List getPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void setGenericParent(PDObject parent)(Code)(Java Doc)
protected void setPDObjects(COSName key, List list)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.cos.COSBasedObject
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.cos.COSBasedObject
public void changed(COSObject pObject, Object slot, Object oldValue, Object newValue)(Code)(Java Doc)
public COSArray cosGetArray()(Code)(Java Doc)
public COSDictionary cosGetDict()(Code)(Java Doc)
public COSDocument cosGetDoc()(Code)(Java Doc)
public COSObject cosGetField(COSName name)(Code)(Java Doc)
public COSObject cosGetObject()(Code)(Java Doc)
public COSStream cosGetStream()(Code)(Java Doc)
public boolean cosHasField(COSName name)(Code)(Java Doc)
public COSObject cosRemoveField(COSName name)(Code)(Java Doc)
public COSObject cosSetField(COSName name, COSObject cosObj)(Code)(Java Doc)
public Object getAttribute(Object key)(Code)(Java Doc)
public boolean getFieldBoolean(COSName name, boolean defaultValue)(Code)(Java Doc)
public CDSDate getFieldDate(COSName name, CDSDate defaultValue)(Code)(Java Doc)
public float getFieldFixed(COSName name, float defaultValue)(Code)(Java Doc)
public float[] getFieldFixedArray(COSName name, float[] defaultValue)(Code)(Java Doc)
public int getFieldInt(COSName name, int defaultValue)(Code)(Java Doc)
public String getFieldMLString(COSName name, String defaultValue)(Code)(Java Doc)
public String getFieldString(COSName name, String defaultValue)(Code)(Java Doc)
protected void initializeFromCos()(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void invalidateCaches()(Code)(Java Doc)
public Object removeAttribute(Object key)(Code)(Java Doc)
public Object setAttribute(Object key, Object value)(Code)(Java Doc)
public void setFieldBoolean(COSName name, boolean value)(Code)(Java Doc)
public void setFieldFixed(COSName name, float value)(Code)(Java Doc)
protected void setFieldFixedArray(COSName key, float[] array)(Code)(Java Doc)
public void setFieldInt(COSName name, int value)(Code)(Java Doc)
public void setFieldMLString(COSName name, String value)(Code)(Java Doc)
public void setFieldName(COSName name, String value)(Code)(Java Doc)
public void setFieldObject(COSName name, COSBasedObject value)(Code)(Java Doc)
public void setFieldString(COSName name, String value)(Code)(Java Doc)
public String toString()(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.