com.icesoft.pdf.ri.pilot
Class ThePilot

java.lang.Object
  extended byPilot
      extended bycom.icesoft.pdf.ri.pilot.ThePilot
All Implemented Interfaces:
AnnotationCallback

public class ThePilot
extends Pilot
implements AnnotationCallback

Reference implementation of a ICEbrowser PDF Pilot. See the ICEpdf Developer's Guide for more information.

This pilot uses the ICEsoft ICEpdf v2.0+ viewer component to view and navigate .PDF documents in the ICEbrowser.

NOTE: The PDF viewer that this pilot uses requires JDK 1.3.x or greater and uses the Swing toolkit.

Author:
K. Fyten
See Also:
Serialized Form

Constructor Summary
ThePilot()
           
 
Method Summary
 void clear(String contentType)
           
 Component createComponent()
           
 void dispose()
           
 void init(String toolkitName)
           
 void parse(ContentLoader cl)
           
 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

ThePilot

public ThePilot()
Method Detail

init

public void init(String toolkitName)

createComponent

public Component createComponent()

clear

public void clear(String contentType)

parse

public void parse(ContentLoader cl)
           throws IOException
Throws:
IOException

dispose

public void dispose()

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.