Java Doc for PDAnnotationLine.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.PDAnnotationMarkup
         org.pdfbox.pdmodel.interactive.annotation.PDAnnotationLine

PDAnnotationLine
public class PDAnnotationLine extends PDAnnotationMarkup (Code)
This is the class that represents a line annotation. Introduced in PDF 1.3 specification
author:
   Paul King
version:
   $Revision: 1.1 $


Field Summary
final public static  StringIT_LINE_ARROW
     Constant for annotation intent of Arrow.
final public static  StringIT_LINE_DIMENSION
     Constant for annotation intent of a dimension line.
final public static  StringLE_BUTT
     Constant for a butt line ending.
final public static  StringLE_CIRCLE
     Constant for a circle line ending.
final public static  StringLE_CLOSED_ARROW
     Constant for a closed arrow line ending.
final public static  StringLE_DIAMOND
     Constant for a diamond line ending.
final public static  StringLE_NONE
     Constant for no line ending.
final public static  StringLE_OPEN_ARROW
     Constant for a open arrow line ending.
final public static  StringLE_R_CLOSED_ARROW
     Constant for a revered closed arrow line ending.
final public static  StringLE_R_OPEN_ARROW
     Constant for a reversed open arrow line ending.
final public static  StringLE_SLASH
     Constant for a slash line ending.
final public static  StringLE_SQUARE
     Constant for a square line ending.
final public static  StringSUB_TYPE
     The type of annotation.

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

Method Summary
public  booleangetCaption()
     This will retrieve if the contents are shown as a caption or not.
public  StringgetEndPointEndingStyle()
     This will retrieve the line ending style for the end point, possible values shown in the LE_ constants section.
public  PDGammagetInteriorColour()
     This will retrieve the interior colour of the line endings defined in the LE entry.
public  float[]getLine()
     This will retrieve the start and end coordinates of the line (or leader line if LL entry is set).
public  StringgetStartPointEndingStyle()
     This will retrieve the line ending style for the start point, possible values shown in the LE_ constants section.
public  voidsetCaption(boolean cap)
     This will set if the contents are shown as a caption to the line.
public  voidsetEndPointEndingStyle(String style)
     This will set the line ending style for the end point, see the LE_ constants for the possible values.
public  voidsetInteriorColour(PDGamma ic)
     This will set interior colour of the line endings defined in the LE entry.
public  voidsetLine(float[] l)
     This will set start and end coordinates of the line (or leader line if LL entry is set).
public  voidsetStartPointEndingStyle(String style)
     This will set the line ending style for the start point, see the LE_ constants for the possible values.

Field Detail
IT_LINE_ARROW
final public static String IT_LINE_ARROW(Code)
Constant for annotation intent of Arrow.



IT_LINE_DIMENSION
final public static String IT_LINE_DIMENSION(Code)
Constant for annotation intent of a dimension line.



LE_BUTT
final public static String LE_BUTT(Code)
Constant for a butt line ending.



LE_CIRCLE
final public static String LE_CIRCLE(Code)
Constant for a circle line ending.



LE_CLOSED_ARROW
final public static String LE_CLOSED_ARROW(Code)
Constant for a closed arrow line ending.



LE_DIAMOND
final public static String LE_DIAMOND(Code)
Constant for a diamond line ending.



LE_NONE
final public static String LE_NONE(Code)
Constant for no line ending.



LE_OPEN_ARROW
final public static String LE_OPEN_ARROW(Code)
Constant for a open arrow line ending.



LE_R_CLOSED_ARROW
final public static String LE_R_CLOSED_ARROW(Code)
Constant for a revered closed arrow line ending.



LE_R_OPEN_ARROW
final public static String LE_R_OPEN_ARROW(Code)
Constant for a reversed open arrow line ending.



LE_SLASH
final public static String LE_SLASH(Code)
Constant for a slash line ending.



LE_SQUARE
final public static String LE_SQUARE(Code)
Constant for a square line ending.



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




Constructor Detail
PDAnnotationLine
public PDAnnotationLine()(Code)
Constructor.



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




Method Detail
getCaption
public boolean getCaption()(Code)
This will retrieve if the contents are shown as a caption or not. boolean if the content is shown as a caption.



getEndPointEndingStyle
public String getEndPointEndingStyle()(Code)
This will retrieve the line ending style for the end point, possible values shown in the LE_ constants section. The ending style for the end point.



getInteriorColour
public PDGamma getInteriorColour()(Code)
This will retrieve the interior colour of the line endings defined in the LE entry. Colour is in DeviceRGB colourspace. PDGamma object representing the colour.



getLine
public float[] getLine()(Code)
This will retrieve the start and end coordinates of the line (or leader line if LL entry is set). array of floats [x1, y1, x2, y2] line start and end points indefault user space.



getStartPointEndingStyle
public String getStartPointEndingStyle()(Code)
This will retrieve the line ending style for the start point, possible values shown in the LE_ constants section. The ending style for the start point.



setCaption
public void setCaption(boolean cap)(Code)
This will set if the contents are shown as a caption to the line.
Parameters:
  cap - Boolean value.



setEndPointEndingStyle
public void setEndPointEndingStyle(String style)(Code)
This will set the line ending style for the end point, see the LE_ constants for the possible values.
Parameters:
  style - The new style.



setInteriorColour
public void setInteriorColour(PDGamma ic)(Code)
This will set interior colour of the line endings defined in the LE entry. Colour is in DeviceRGB colourspace.
Parameters:
  ic - colour in the DeviceRGB colourspace.



setLine
public void setLine(float[] l)(Code)
This will set start and end coordinates of the line (or leader line if LL entry is set).
Parameters:
  l - array of 4 floats [x1, y1, x2, y2] line start and end pointsin default user space.



setStartPointEndingStyle
public void setStartPointEndingStyle(String style)(Code)
This will set the line ending style for the start point, see the LE_ constants for the possible values.
Parameters:
  style - The new style.



Fields inherited from org.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup
final public static String RT_GROUP(Code)(Java Doc)
final public static String RT_REPLY(Code)(Java Doc)

Methods inherited from org.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup
public float getConstantOpacity()(Code)(Java Doc)
public Calendar getCreationDate() throws IOException(Code)(Java Doc)
public PDAnnotation getInReplyTo() throws IOException(Code)(Java Doc)
public String getIntent()(Code)(Java Doc)
public PDAnnotationPopup getPopup()(Code)(Java Doc)
public String getReplyType()(Code)(Java Doc)
public PDTextStream getRichContents()(Code)(Java Doc)
public String getSubject()(Code)(Java Doc)
public String getTitlePopup()(Code)(Java Doc)
public void setConstantOpacity(float ca)(Code)(Java Doc)
public void setCreationDate(Calendar creationDate)(Code)(Java Doc)
public void setInReplyTo(PDAnnotation irt)(Code)(Java Doc)
public void setIntent(String it)(Code)(Java Doc)
public void setPopup(PDAnnotationPopup popup)(Code)(Java Doc)
public void setReplyType(String rt)(Code)(Java Doc)
public void setRichContents(PDTextStream rc)(Code)(Java Doc)
public void setSubject(String subj)(Code)(Java Doc)
public void setTitlePopup(String t)(Code)(Java Doc)

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.