Class PDFNumberTreeNode

All Implemented Interfaces:
PDFWritable
Direct Known Subclasses:
PDFPageLabels, PDFParentTree

public class PDFNumberTreeNode extends PDFDictionary
Class representing a PDF number tree node.
  • Constructor Details

    • PDFNumberTreeNode

      public PDFNumberTreeNode()
      create a named destination
  • Method Details

    • setKids

      public void setKids(PDFArray kids)
      Sets the Kids array.
      Parameters:
      kids - the Kids array
    • getKids

      public PDFArray getKids()
      Returns the Kids array.
      Returns:
      the Kids array
    • setNums

      public void setNums(PDFNumsArray nums)
      Sets the Nums array.
      Parameters:
      nums - the Nums array
    • getNums

      public PDFNumsArray getNums()
      Returns the Nums array.
      Returns:
      the Nums array
    • setLowerLimit

      public void setLowerLimit(Integer key)
      Sets the lower limit value of the Limits array.
      Parameters:
      key - the lower limit value
    • getLowerLimit

      public Integer getLowerLimit()
      Returns the lower limit value of the Limits array.
      Returns:
      the lower limit value
    • setUpperLimit

      public void setUpperLimit(Integer key)
      Sets the upper limit value of the Limits array.
      Parameters:
      key - the upper limit value
    • getUpperLimit

      public Integer getUpperLimit()
      Returns the upper limit value of the Limits array.
      Returns:
      the upper limit value
    • addToNums

      protected void addToNums(int num, Object object)
      Adds a number and object to the nums array and increases the upper limit should it be required.
      Parameters:
      num - The unique number identifying the object in the array
      object - The object being added