Class OutlineItemTreeNode

  • All Implemented Interfaces:
    Serializable, Cloneable, MutableTreeNode, TreeNode

    public class OutlineItemTreeNode
    extends DefaultMutableTreeNode
    A PDF document may optionally display a document outline on the screen, allowing the user to navigate interactively from one part of the document to another. The outline consists of a tree-structured hierarchy of outline items (sometimes called bookmarks), which serve as a "visual table of contents" to display the document's structure to the user. The user can interactively open and close individual items by clicking them with the mouse. When an item is open, its immediate children in the hierarchy become visible on the screen; each child may in turn be open or closed, selectively revealing or hiding further parts of the hierarchy. When an item is closed, all of its descendants in the hierarchy are hidden. Clicking the text of any visible item with the mouse activates the item, causing the viewer application to jump to a destination or trigger an action associated with the item. An OutlineItemTreeNode object represents the bookmarks or leaves which makes up the actual Outline JTree.
    See Also:
    Serialized Form
    • Constructor Detail

      • OutlineItemTreeNode

        public OutlineItemTreeNode​(OutlineItem item)
        Creates a new instance of an OutlineItemTreeNode
        Parameters:
        item - Contains PDF Outline item data
      • OutlineItemTreeNode

        public OutlineItemTreeNode​(OutlineItem item,
                                   Pattern searchPattern,
                                   boolean isCaseSensitive)