com.icesoft.pdf.ri.common
Class MyAnnotationCallback

java.lang.Object
  extended bycom.icesoft.pdf.ri.common.MyAnnotationCallback
All Implemented Interfaces:
AnnotationCallback

public class MyAnnotationCallback
extends Object
implements AnnotationCallback

This class represents a basic implemenation of the AnnotationCallback

Since:
2.6
Author:
ICEsoft Technologies, Inc.

Constructor Summary
MyAnnotationCallback(DocumentViewController documentViewController)
           
 
Method Summary
 void proccessAnnotationAction(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

MyAnnotationCallback

public MyAnnotationCallback(DocumentViewController documentViewController)
Method Detail

proccessAnnotationAction

public void proccessAnnotationAction(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.

Specified by:
proccessAnnotationAction in interface AnnotationCallback
Parameters:
annotation - annotation that was activated by a user via the PageViewComponent.