Package apple.pdfkit.protocol
Interface PDFDocumentDelegate
-
public interface PDFDocumentDelegateDocument delegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NotNull org.moe.natj.objc.ClassclassForAnnotationType(@NotNull java.lang.String annotationType)If implemented by the delegate, will be called when a PDFAnnotation is instantiated by a page.default @NotNull org.moe.natj.objc.ClassclassForPage()If implemented by the delegate, will be called when a PDFPage is instantiated.default voiddidMatchString(@NotNull PDFSelection instance)If implemented by the delegate, called for every search instance found during a find.default voiddocumentDidBeginDocumentFind(@NotNull NSNotification notification)default voiddocumentDidBeginPageFind(@NotNull NSNotification notification)default voiddocumentDidEndDocumentFind(@NotNull NSNotification notification)default voiddocumentDidEndPageFind(@NotNull NSNotification notification)default voiddocumentDidFindMatch(@NotNull NSNotification notification)default voiddocumentDidUnlock(@NotNull NSNotification notification)Notification delegate methods.
-
-
-
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.
-
-