|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.common.MyAnnotationCallback
public class MyAnnotationCallback
This class represents a basic implemenation of the AnnotationCallback
| Constructor Summary | |
|---|---|
MyAnnotationCallback(org.icepdf.core.views.DocumentViewController documentViewController)
|
|
| Method Summary | |
|---|---|
void |
newAnnotation(org.icepdf.core.views.PageViewComponent pageComponent,
java.awt.Rectangle rect)
New annotation created with view tool. |
void |
pageAnnotationsInitialized(org.icepdf.core.pobjects.Page page)
Implemented Annotation Callback method. |
void |
proccessAnnotationAction(org.icepdf.core.pobjects.annotations.Annotation annotation)
Implemented Annotation Callback method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyAnnotationCallback(org.icepdf.core.views.DocumentViewController documentViewController)
| Method Detail |
|---|
public void proccessAnnotationAction(org.icepdf.core.pobjects.annotations.Annotation annotation)
Implemented Annotation Callback method. When an annotation is activated in a PageViewComponent it passes the annotation to this method for processing. The PageViewComponent take care of drawing the annotation states but it up to this method to process the annotation.
proccessAnnotationAction in interface org.icepdf.core.AnnotationCallbackannotation - annotation that was activated by a user via the
PageViewComponent.public void pageAnnotationsInitialized(org.icepdf.core.pobjects.Page page)
Implemented Annotation Callback method. This method is called when a pages annotations been initialized but before the page has been painted. This method blocks the
pageAnnotationsInitialized in interface org.icepdf.core.AnnotationCallbackpage - page that has been initialized. The pages annotations are
available via an accessor method.
public void newAnnotation(org.icepdf.core.views.PageViewComponent pageComponent,
java.awt.Rectangle rect)
newAnnotation in interface org.icepdf.core.AnnotationCallbackpageComponent - page that annotation was added to.rect - annotation bounds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||