java.lang.Object | |
↳ | com.pdftron.pdf.controls.AnnotationDialogFragment.AnnotationInfo |
Known Direct Subclasses |
Annotation Info class. Internal use in AnnotationListUtil
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationInfo(int type, int pageNum, String content, String author, String date, Annot annotation, double yPos)
Class constructor specifying the type, page and content of the
annotation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
Annot | getAnnotation() | ||||||||||
String | getAuthor() | ||||||||||
String | getContent() | ||||||||||
String |
getDate()
Get date in string format
| ||||||||||
int | getPageNum() | ||||||||||
int |
getType()
Returns the type of this annotation.
| ||||||||||
double |
getY2()
Get the Y-position of of the top edge of the
Rect containing this annotation. | ||||||||||
int | hashCode() | ||||||||||
void |
setAuthor(String author)
Sets the author.
| ||||||||||
void |
setContent(String mContent)
Sets the content.
| ||||||||||
void |
setPageNum(int mPageNum)
Sets he page number where the annotation is on.
| ||||||||||
void |
setType(int mType)
Sets the type of the annotation.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Class constructor specifying the type, page and content of the annotation.
type | the type of the annotation |
---|---|
pageNum | the page where this annotation lies in |
content | the content of the annotation |
author | the author of this annotation |
date | the date |
annotation | the annotation |
yPos | y-position of of the top edge of the Rect containing this annotation. |
Get date in string format
Get the Y-position of of the top edge of the Rect
containing this annotation.
Obtained from normalized Rect
's Y2 field.
Sets the author.
author | The author |
---|
Sets the content.
mContent | The content |
---|
Sets he page number where the annotation is on.
mPageNum | The page number |
---|