|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationComponent
This interface is implemented by components that display annotations.
| Method Summary | |
|---|---|
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. |
boolean |
isSelected()
Deprecated. Replaced with IAnnotationManager.isSelected(com.qoppa.pdf.annotations.AnnotationComponent) |
void |
setSelected(boolean selected)
Deprecated. Replaced with IAnnotationManager.selectAnnotationComponent(com.qoppa.pdf.annotations.AnnotationComponent) |
void |
showPopup(int x,
int y)
Shows the popup window for the annotation that contains the text contents. |
| Method Detail |
|---|
Annotation getAnnotation()
IPDFPage getPage()
int getPageIndex()
boolean isSelected()
IAnnotationManager.isSelected(com.qoppa.pdf.annotations.AnnotationComponent)
void setSelected(boolean selected)
IAnnotationManager.selectAnnotationComponent(com.qoppa.pdf.annotations.AnnotationComponent)
selected -
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||