Class SidePanelFactory

    • Constructor Detail

      • SidePanelFactory

        public SidePanelFactory​(String name)
        Create a new SidePanelFactory.
        Parameters:
        name - the official name of the feature
    • Method Detail

      • isSidePanelRequired

        public boolean isSidePanelRequired​(DocumentPanel docpanel)
        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
      • createSidePanel

        public abstract SidePanel createSidePanel()
        Create and return a new SidePanel.