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