Class OutlinePanel


  • public class OutlinePanel
    extends SidePanelFactory
    Create a SidePanel that will display the document bookmarks, as returned by PDF.getBookmarks(). The name of this feature is ShowHideBookmarks

    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.

    Since:
    2.8
    • Constructor Detail

      • OutlinePanel

        public OutlinePanel()
        Create a new OutlinePanel
        Since:
        2.11
    • 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
        Overrides:
        isSidePanelRequired in class SidePanelFactory