|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.PDFAnnotation
org.faceless.pdf2.AnnotationText
public final class AnnotationText
This class represents the type of PDFAnnotation created by the
"Text Markup" tool in Acrobat. This is simply a box which may contain
one or more lines of text.
| Constructor Summary | |
|---|---|
AnnotationText()
Create a new Text annotation |
|
| Method Summary | |
|---|---|
protected Object |
clone()
|
boolean |
equals(Object o)
|
PDFStyle |
getStyle()
Get the style of the annotation |
void |
setContents(String content)
Set the contents of the annotation |
void |
setStyle(PDFStyle style)
Set the style to display the text in |
String |
toString()
|
| Methods inherited from class org.faceless.pdf2.PDFAnnotation |
|---|
addReview, getAuthor, getColor, getContents, getCreationDate, getFlag, getInReplyTo, getModifyDate, getOpacity, getPage, getPopup, getRectangle, getReplies, getReviews, getSubject, getType, getUniqueID, isPrintable, isReadOnly, isVisible, setAuthor, setColor, setCreationDate, setFlag, setInReplyTo, setModifyDate, setOpacity, setPage, setPrintable, setReadOnly, setRebuildRequired, setRectangle, setSubject, setUniqueID, setVisible, touch |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationText()
| Method Detail |
|---|
public void setContents(String content)
setContents in class PDFAnnotationcontent - the content of the Text annotation. May contain "\n" characters
to indicate newlinespublic void setStyle(PDFStyle style)
style - the style to display the text inpublic PDFStyle getStyle()
public String toString()
public boolean equals(Object o)
equals in class Objectprotected Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||