public interface AnnotationComponent
Modifier and Type | Method and Description |
---|---|
void |
annotUpdated()
If an annotation's properties are modified, call this method to alert the
AnnotationComponent that it needs to update itself based on the
annotation's properties.
|
Annotation |
getAnnotation()
Returns the annotation for this AnnotationComponent.
|
IPDFPage |
getPage()
Returns the page in which this annotation component is located.
|
int |
getPageIndex()
Returns the index of the page in which this annotation component is
located.
|
void |
showPopup(int x,
int y)
Shows the popup window for the annotation that contains the text
contents.
|
Annotation getAnnotation()
IPDFPage getPage()
int getPageIndex()
void showPopup(int x, int y)
x
- The x location, relative to the annotation component, at which
to display the popup.y
- The y location, relative to the annotation component, at which
to display the popup.void annotUpdated()