Class HeaderNode


  • public class HeaderNode
    extends java.lang.Object
    Helper class to keep the PdfOutline structure for Headers.
    Author:
    redlab_b
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int level()
      Return the level of this HeaderNode.
      PdfOutline outline()
      Returns the PdfOutline attached to this HeaderNode.
      HeaderNode parent()
      The parent node for this node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HeaderNode

        public HeaderNode​(int level,
                          PdfOutline outline,
                          HeaderNode parent)
        Constructor.
        Parameters:
        level - the level
        outline - the PdfOutline for this HeaderNode
        parent - the parent HeaderNode
    • Method Detail

      • parent

        public HeaderNode parent()
        The parent node for this node.
        Returns:
        HeaderNode
      • level

        public int level()
        Return the level of this HeaderNode.
        Returns:
        level
      • outline

        public PdfOutline outline()
        Returns the PdfOutline attached to this HeaderNode.
        Returns:
        the PdfOutline of this HeaderNode