Class PdfBarcodeBox

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified

@Component public class PdfBarcodeBox extends PdfBox
This class extends PdfBox and implements the specific barcode box inside a pdf report.
See Also:
  • Field Details

  • Constructor Details

    • PdfBarcodeBox

      public PdfBarcodeBox()
  • Method Details

    • setBH

      public void setBH(String s)
      Sets the height of the bars.
      Parameters:
      s - The height to set.
    • setX

      public void setX(String s)
      Sets the bar width.
      Parameters:
      s - The width to set.
    • setFS

      public void setFS(String s)
      Sets the size of the text.
      Parameters:
      s - The size to ser.
    • setTYPE

      public void setTYPE(String type)
      Sets the code type.
      Parameters:
      type - The code type to set.
    • setCODE

      public void setCODE(String code)
      Sets the code.
      Parameters:
      code - The code to set.
    • setFC

      public void setFC(String s)
      Sets the font color.
      Parameters:
      s - the font color to set.
    • setW

      public void setW(String s)
      Description copied from class: PdfBox
      Sets the box's width.
      Overrides:
      setW in class PdfBox
      Parameters:
      s - The width to set.
    • setH

      public void setH(String s)
      Description copied from class: PdfBox
      Sets the box's height.
      Overrides:
      setH in class PdfBox
      Parameters:
      s - The height to set.
    • drawInsideFront

      public void drawInsideFront(Report r, float x, float y, float w, float h)
      Draw the effctive barcode bars
      Overrides:
      drawInsideFront in class PdfBox
      Parameters:
      r - The report where draw bars
      x - The x coordinate from which start draw.
      y - The y coordinate from which start draw.
      w - The width of the box.
      h - The height of the box.