All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, RMShapeSelfInit, PropertyChangeListener, Cloneable, EventListener

public class Barcode extends AbstractJ2DShape implements RMShapeSelfInit
Filename: Barcode Author: Perry Arellano-Jones Created on: 6/15/15 Project: ignition_dev_7_8B

Provides a Barcode component for the Reporting Module.

  • Field Details

  • Constructor Details

    • Barcode

      public Barcode()
  • Method Details

    • selfInit

      public void selfInit()
      Specified by:
      selfInit in interface RMShapeSelfInit
    • getCodeString

      public String getCodeString()
      Returns the key used to load if none is provided.
    • setCodeString

      public void setCodeString(String str)
      Sets the key used to create a barcode if none is provided.
    • render

      protected void render(Graphics2D g, int width, int height)
      This is where implementations of AbstractJ2DShape actually paint themselves to a graphics context.
      Specified by:
      render in class AbstractJ2DShape
    • drawErrorAndThrow

      public void drawErrorAndThrow(Graphics2D g, int width, int height, int pad, IllegalArgumentException iae)
    • getLabelFont

      public Font getLabelFont()
    • setLabelFont

      public void setLabelFont(Font labelFont)
    • getPageIndex

      public int getPageIndex()
      Returns the page index.
    • isShowText

      public boolean isShowText()
    • setShowText

      public void setShowText(boolean showText)
    • getShowText

      public boolean getShowText()
    • getBarcodeFormat

      public com.google.zxing.BarcodeFormat getBarcodeFormat()
    • setBarcodeFormat

      public void setBarcodeFormat(com.google.zxing.BarcodeFormat format)
    • getQrEcLevel

      public com.google.zxing.qrcode.decoder.ErrorCorrectionLevel getQrEcLevel()
    • setQrEcLevel

      public void setQrEcLevel(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level)
    • getQrCodeVersion

      public String getQrCodeVersion()
    • setQrCodeVersion

      public void setQrCodeVersion(String version)
    • rpgShape

      protected RMShape rpgShape(ReportOwner anRptOwner, RMShape aParent)
      Description copied from class: RMShape
      Generate report with report owner.
      Overrides:
      rpgShape in class RMShape
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML Archival.
      Specified by:
      toXML in interface Archivable
      Overrides:
      toXML in class RMShape
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Specified by:
      fromXML in interface Archivable
      Overrides:
      fromXML in class RMShape
    • setIsPlaceholder

      public void setIsPlaceholder(boolean isPlaceholder)