|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.pdf.PDFObject
com.elegantj.pdf.PDFGraphicsObject
com.elegantj.pdf.PDFAnnotation
com.elegantj.pdf.PDFTextAnnotation
This class represents PDFTextAnnotation object Annotations are notes or other objects that are associated with a page but are separate from the page description itself.
| Field Summary |
| Fields inherited from class com.elegantj.pdf.PDFAnnotation |
llX, llY, urX, urY |
| Fields inherited from class com.elegantj.pdf.PDFGraphicsObject |
BEVEL_JOINS, BUTT_CAPS, MITER_JOINS, ROUND_CAPS, ROUND_JOINS, SQUARE_CAPS |
| Constructor Summary | |
PDFTextAnnotation(java.lang.String text,
int x,
int y,
int width,
int height)
Constructs a PDF Text Annotation object |
|
| Method Summary | |
java.lang.Object |
clone()
Returns the clone of this object |
java.lang.String |
getTitle()
Method which returns the title of Text Annotation |
boolean |
isOpen()
Method which returns initial flag for open the Text Annotation |
void |
setColor(java.awt.Color color)
Method which sets the color for the Text Annotation |
void |
setOpen(boolean flag)
Method which sets the flag which specifies that the annotation should initially be displayed opened |
void |
setTitle(java.lang.String title)
Method which sets the title of Text Annotation |
| Methods inherited from class com.elegantj.pdf.PDFObject |
getPDFObjectID, getPDFObjectRefStr, getPDFObjectType, setPDFObjectID, setPDFObjectType |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDFTextAnnotation(java.lang.String text,
int x,
int y,
int width,
int height)
text - the text to be displayed, usually in a pop-up window.x - the x coordinate of annotationy - the y coordinate of annotationwidth - the width of the annotationheight - the height of the annotation| Method Detail |
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public void setColor(java.awt.Color color)
color - The color for the Text Annotationpublic void setOpen(boolean flag)
flag - Specifies that the annotation should initially be displayed openedpublic boolean isOpen()
public java.lang.Object clone()
clone in class PDFAnnotation
|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||