Class ExampleAnnotationHandler

  • All Implemented Interfaces:
    org.jpedal.external.AnnotationHandler

    public class ExampleAnnotationHandler
    extends Object
    implements org.jpedal.external.AnnotationHandler
    • Constructor Detail

      • ExampleAnnotationHandler

        public ExampleAnnotationHandler()
    • Method Detail

      • handleAnnotations

        public void handleAnnotations​(org.jpedal.PdfDecoderInt decode_pdf,
                                      Map<org.jpedal.objects.raw.FormObject,​String> objs,
                                      int p)
        example code to adapt
        Specified by:
        handleAnnotations in interface org.jpedal.external.AnnotationHandler
        Parameters:
        decode_pdf -
        objs -
        p -
      • checkLinks

        public void checkLinks​(Map<org.jpedal.objects.raw.FormObject,​String> objs,
                               boolean mouseClicked,
                               org.jpedal.io.PdfObjectReader pdfObjectReader,
                               int x,
                               int y,
                               org.jpedal.examples.viewer.gui.SwingGUI currentGUI,
                               org.jpedal.examples.viewer.Values commonValues)
        Description copied from interface: org.jpedal.external.AnnotationHandler
        called when mouse moves so you can react to context
        Specified by:
        checkLinks in interface org.jpedal.external.AnnotationHandler