org.jpedal.pdf.plugins.eclipse.handlers
Class PdfAnnotationHandler

java.lang.Object
  extended by org.jpedal.pdf.plugins.eclipse.handlers.PdfAnnotationHandler
All Implemented Interfaces:
org.jpedal.AnnotationHandler

public class PdfAnnotationHandler
extends java.lang.Object
implements org.jpedal.AnnotationHandler


Constructor Summary
PdfAnnotationHandler()
           
 
Method Summary
 void add(int start, int length, java.lang.String text, java.awt.Color color)
           
 void add(java.awt.Rectangle[] areas, int currentPage, java.lang.String text, java.awt.Color color)
           
 void addAnnotation(org.jpedal.PdfAnnotation pdfAnnotation)
           
 void addAnnotationHTML(org.jpedal.Annotation annotation)
           
 java.util.List<org.jpedal.PdfAnnotation> annotations()
           
 java.util.List<org.jpedal.Annotation> annotationsHTML()
           
 java.awt.Color colorFor(java.lang.Object obj)
           
 boolean isInitialized()
           
 void removeAnnotations()
           
 void setIsInitialized(boolean initialized)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfAnnotationHandler

public PdfAnnotationHandler()
Method Detail

add

public void add(java.awt.Rectangle[] areas,
                int currentPage,
                java.lang.String text,
                java.awt.Color color)
Specified by:
add in interface org.jpedal.AnnotationHandler

annotations

public java.util.List<org.jpedal.PdfAnnotation> annotations()
Specified by:
annotations in interface org.jpedal.AnnotationHandler

removeAnnotations

public void removeAnnotations()
Specified by:
removeAnnotations in interface org.jpedal.AnnotationHandler

addAnnotation

public void addAnnotation(org.jpedal.PdfAnnotation pdfAnnotation)
Specified by:
addAnnotation in interface org.jpedal.AnnotationHandler

colorFor

public java.awt.Color colorFor(java.lang.Object obj)
Specified by:
colorFor in interface org.jpedal.AnnotationHandler

add

public void add(int start,
                int length,
                java.lang.String text,
                java.awt.Color color)
Specified by:
add in interface org.jpedal.AnnotationHandler

annotationsHTML

public java.util.List<org.jpedal.Annotation> annotationsHTML()
Specified by:
annotationsHTML in interface org.jpedal.AnnotationHandler

addAnnotationHTML

public void addAnnotationHTML(org.jpedal.Annotation annotation)
Specified by:
addAnnotationHTML in interface org.jpedal.AnnotationHandler

setIsInitialized

public void setIsInitialized(boolean initialized)
Specified by:
setIsInitialized in interface org.jpedal.AnnotationHandler

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface org.jpedal.AnnotationHandler