Interface PDFDocumentDelegate


  • public interface PDFDocumentDelegate
    Document delegate
    • Method Detail

      • classForAnnotationType

        @NotNull
        default @NotNull org.moe.natj.objc.Class classForAnnotationType​(@NotNull
                                                                        @NotNull java.lang.String annotationType)
        If implemented by the delegate, will be called when a PDFAnnotation is instantiated by a page. PDFPage by default will instantiate object of class. This allows you to instead return your own PDFAnnotation subclass. Return nil for annotation types you do not subclass. API-Since: 11.0
      • classForPage

        @NotNull
        default @NotNull org.moe.natj.objc.Class classForPage()
        If implemented by the delegate, will be called when a PDFPage is instantiated. PDFDocument's implementation calls -[PDFDocument pageClass] (see above). API-Since: 11.0
      • didMatchString

        default void didMatchString​(@NotNull
                                    @NotNull PDFSelection instance)
        If implemented by the delegate, called for every search instance found during a find. PDFDocument's implementation accumulates each PDFSelection (instance) in an NSArray.
      • documentDidBeginDocumentFind

        default void documentDidBeginDocumentFind​(@NotNull
                                                  @NotNull NSNotification notification)
      • documentDidBeginPageFind

        default void documentDidBeginPageFind​(@NotNull
                                              @NotNull NSNotification notification)
      • documentDidEndDocumentFind

        default void documentDidEndDocumentFind​(@NotNull
                                                @NotNull NSNotification notification)
      • documentDidEndPageFind

        default void documentDidEndPageFind​(@NotNull
                                            @NotNull NSNotification notification)
      • documentDidFindMatch

        default void documentDidFindMatch​(@NotNull
                                          @NotNull NSNotification notification)
      • documentDidUnlock

        default void documentDidUnlock​(@NotNull
                                       @NotNull NSNotification notification)
        Notification delegate methods. If implemented by the delegate, these are called. See notification comments above.