Java Doc for PDAnnotationLink.java in  » PDF » PDFBox-0.7.3 » org » pdfbox » pdmodel » interactive » annotation » 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 » PDFBox 0.7.3 » org.pdfbox.pdmodel.interactive.annotation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
      org.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink

PDAnnotationLink
public class PDAnnotationLink extends PDAnnotation (Code)
This is the class that represents a link annotation.
author:
   Ben Litchfield
author:
   Paul King
version:
   $Revision: 1.3 $


Field Summary
final public static  StringHIGHLIGHT_MODE_INVERT
     Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.
final public static  StringHIGHLIGHT_MODE_NONE
     Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.
final public static  StringHIGHLIGHT_MODE_OUTLINE
     Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.
final public static  StringHIGHLIGHT_MODE_PUSH
     Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.
final public static  StringSUB_TYPE
     The type of annotation.

Constructor Summary
public  PDAnnotationLink()
     Constructor.
public  PDAnnotationLink(COSDictionary field)
     Creates a Link annotation from a COSDictionary, expected to be a correct object definition.

Method Summary
public  PDDestinationgetDestination()
     Get the destination to be displayed when the annotation is activated.
public  StringgetHighlightMode()
     Set the highlight mode for when the mouse is depressed.
public  PDActionURIgetPreviousURI()
     This will set the previous URI action, in case it's needed.
public  float[]getQuadPoints()
     This will retrieve the set of quadpoints which encompass the areas of this annotation which will activate.
public  voidsetDestination(PDDestination dest)
     The new destination value.
public  voidsetHighlightMode(String mode)
     Set the highlight mode.
public  voidsetPreviousURI(PDActionURI pa)
     This will set the previous URI action, in case it needs to be retrieved at later date.
public  voidsetQuadPoints(float[] quadPoints)
     This will set the set of quadpoints which encompass the areas of this annotation which will activate.

Field Detail
HIGHLIGHT_MODE_INVERT
final public static String HIGHLIGHT_MODE_INVERT(Code)
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.



HIGHLIGHT_MODE_NONE
final public static String HIGHLIGHT_MODE_NONE(Code)
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.



HIGHLIGHT_MODE_OUTLINE
final public static String HIGHLIGHT_MODE_OUTLINE(Code)
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.



HIGHLIGHT_MODE_PUSH
final public static String HIGHLIGHT_MODE_PUSH(Code)
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19.



SUB_TYPE
final public static String SUB_TYPE(Code)
The type of annotation.




Constructor Detail
PDAnnotationLink
public PDAnnotationLink()(Code)
Constructor.



PDAnnotationLink
public PDAnnotationLink(COSDictionary field)(Code)
Creates a Link annotation from a COSDictionary, expected to be a correct object definition.
Parameters:
  field - the PDF objet to represent as a field.




Method Detail
getDestination
public PDDestination getDestination() throws IOException(Code)
Get the destination to be displayed when the annotation is activated. Either this or the A should be set but not both. The destination for this annotation.
throws:
  IOException - If there is an error creating the destination.



getHighlightMode
public String getHighlightMode()(Code)
Set the highlight mode for when the mouse is depressed. See the HIGHLIGHT_MODE_XXX constants. The string representation of the highlight mode.



getPreviousURI
public PDActionURI getPreviousURI()(Code)
This will set the previous URI action, in case it's needed. The previous URI.



getQuadPoints
public float[] getQuadPoints()(Code)
This will retrieve the set of quadpoints which encompass the areas of this annotation which will activate. An array of floats representing the quad points.



setDestination
public void setDestination(PDDestination dest)(Code)
The new destination value.
Parameters:
  dest - The updated destination.



setHighlightMode
public void setHighlightMode(String mode)(Code)
Set the highlight mode. See the HIGHLIGHT_MODE_XXX constants.
Parameters:
  mode - The new highlight mode.



setPreviousURI
public void setPreviousURI(PDActionURI pa)(Code)
This will set the previous URI action, in case it needs to be retrieved at later date.
Parameters:
  pa - The previous URI.



setQuadPoints
public void setQuadPoints(float[] quadPoints)(Code)
This will set the set of quadpoints which encompass the areas of this annotation which will activate.
Parameters:
  quadPoints - an array representing the set of area covered.



Fields inherited from org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
final public static int FLAG_HIDDEN(Code)(Java Doc)
final public static int FLAG_INVISIBLE(Code)(Java Doc)
final public static int FLAG_LOCKED(Code)(Java Doc)
final public static int FLAG_NO_ROTATE(Code)(Java Doc)
final public static int FLAG_NO_VIEW(Code)(Java Doc)
final public static int FLAG_NO_ZOOM(Code)(Java Doc)
final public static int FLAG_PRINTED(Code)(Java Doc)
final public static int FLAG_READ_ONLY(Code)(Java Doc)
final public static int FLAG_TOGGLE_NO_VIEW(Code)(Java Doc)

Methods inherited from org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
public static PDAnnotation createAnnotation(COSBase base) throws IOException(Code)(Java Doc)
public PDAction getAction() throws IOException(Code)(Java Doc)
public PDAdditionalActions getActions()(Code)(Java Doc)
public int getAnnotationFlags()(Code)(Java Doc)
public String getAnnotationName()(Code)(Java Doc)
public PDAppearanceDictionary getAppearance()(Code)(Java Doc)
public String getAppearanceStream()(Code)(Java Doc)
public PDBorderStyleDictionary getBoderStyle()(Code)(Java Doc)
public COSBase getCOSObject()(Code)(Java Doc)
public PDGamma getColour()(Code)(Java Doc)
public String getContents()(Code)(Java Doc)
public COSDictionary getDictionary()(Code)(Java Doc)
public String getModifiedDate()(Code)(Java Doc)
public PDRectangle getRectangle()(Code)(Java Doc)
public boolean isHidden()(Code)(Java Doc)
public boolean isInvisible()(Code)(Java Doc)
public boolean isLocked()(Code)(Java Doc)
public boolean isNoRotate()(Code)(Java Doc)
public boolean isNoView()(Code)(Java Doc)
public boolean isNoZoom()(Code)(Java Doc)
public boolean isPrinted()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
public boolean isToggleNoView()(Code)(Java Doc)
public void setAction(PDAction action)(Code)(Java Doc)
public void setActions(PDAdditionalActions actions)(Code)(Java Doc)
public void setAnnotationFlags(int flags)(Code)(Java Doc)
public void setAnnotationName(String nm)(Code)(Java Doc)
public void setAppearance(PDAppearanceDictionary appearance)(Code)(Java Doc)
public void setAppearanceStream(String as)(Code)(Java Doc)
public void setBorderStyle(PDBorderStyleDictionary bs)(Code)(Java Doc)
public void setColour(PDGamma c)(Code)(Java Doc)
public void setContents(String value)(Code)(Java Doc)
public void setHidden(boolean hidden)(Code)(Java Doc)
public void setInvisible(boolean invisible)(Code)(Java Doc)
public void setLocked(boolean locked)(Code)(Java Doc)
public void setModifiedDate(String m)(Code)(Java Doc)
public void setNoRotate(boolean noRotate)(Code)(Java Doc)
public void setNoView(boolean noView)(Code)(Java Doc)
public void setNoZoom(boolean noZoom)(Code)(Java Doc)
public void setPrinted(boolean printed)(Code)(Java Doc)
public void setReadOnly(boolean readOnly)(Code)(Java Doc)
public void setRectangle(PDRectangle rectangle)(Code)(Java Doc)
public void setToggleNoView(boolean toggleNoView)(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.