|
||||||||||
| 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 | |
|---|---|
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 |
|---|
addPropertyChangeListener, addReview, getAuthor, getColor, getContents, getCreationDate, getInReplyTo, getModifyDate, getOpacity, getPage, getPopup, getRectangle, getReplies, getReviews, getSubject, getType, getUniqueID, hasAppearanceState, isPrintable, isReadOnly, isVisible, removePropertyChangeListener, setAuthor, setColor, setCreationDate, setInReplyTo, setModifyDate, setOpacity, setPage, setPrintable, setReadOnly, setRectangle, setSubject, setUniqueID, setVisible |
| Methods inherited from class java.lang.Object |
|---|
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 Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||