Class PdfSetBox

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified
Direct Known Subclasses:
PdfColBox, PdfRowBox

@Component public class PdfSetBox extends PdfBox
This class extends PdfBox and allow to manage a PdfBox lineage.
For example to draw a PdfBox inside to another PdfBox (that become the parent).
See Also:
  • Constructor Details

    • PdfSetBox

      public PdfSetBox()
  • Method Details

    • getDescendant

      public HashMap getDescendant()
      Gets a HashMap containing all PdfBox descendant of this instance.
      Returns:
      A HashMap containing all PdfBox descendant of this instance.
    • getDescendant

      public PdfBox getDescendant(String name)
      Gets a PdfBox descendent of this instance, defined by name passed by parameter.
      Parameters:
      name - The name of the PdfBox object descendent.
      Returns:
      A HashMap containing all PdfBox descendant of this instance.
    • clearDescendant

      public void clearDescendant()
      Clear all descendant of this instance.
    • addChild

      public void addChild(UINode n)
      Description copied from class: UINode
      Empty method
      Overrides:
      addChild in class UINode
      Parameters:
      n - Not used
    • addPdfBox

      public void addPdfBox(PdfBox b)
      Add a PdfBox descendent to this instance.
      Parameters:
      b - The PdfBox descendent to add.
    • setupBox

      protected void setupBox(PdfBox b)
    • drawInsideFront

      public void drawInsideFront(Report r, float x, float y, float w, float h)
      draw this component and all its descendants.
      Overrides:
      drawInsideFront in class PdfBox
      Parameters:
      r - The report where draw.
      x - The x coordinate from which start draw the component.
      y - The y coordinate from which start draw the component.
      w - The width of the box.
      h - The height of the box.