Class SignaturePanel

  • public class SignaturePanel
    extends SidePanelFactory
    Create a SidePanel that will display a list of Digital Signatures in the PDF. Double clicking on a blank signature will select a SignatureProvider and then call SignatureProvider.showSignDialog(). Double clicking on a previously signed signature will select a SignatureProvider and then call SignatureProvider.showVerifyDialog().

    The following initialization parameters can be specified to configure this feature.
    VerifyAll.Hidetrue or false, to show or hide the "Verify All" button. The default is true
    HideUntilKnownWhen a linearized PDF is being loaded, the API cannot know for sure whether signatures exist in the PDF until the load is complete. By default the SignaturePanel will be shown in a "loading" state until the load is complete, and then closed if no signature exists, but setting this value to not-null will hide the panel until the load is complete, and if a signature is found will add the panel at that point.
    The name of this feature is ShowHideSignatures

    This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

    • Constructor Detail

      • SignaturePanel

        public SignaturePanel()
        Create a new SignaturePanel
    • Method Detail

      • isSidePanelRequired

        public boolean isSidePanelRequired​(DocumentPanel docpanel)
        Description copied from class: SidePanelFactory
        Determines whether this side panel is required for this PDF. By default this method returns true, but an example of where this wouldn't apply is for the Bookmarks panel on a PDF with no bookmarks. Note prior to 2.26, this method took a PDF instead of a DocumentPanel
        isSidePanelRequired in class SidePanelFactory