java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.inductiveautomation.factorypmi.plugins.reporting.shapes.BarcodeShape
All Implemented Interfaces:
RMArchiver.Archiving, Java2DShapePainter, RMShapePainter.Paint, Cloneable

public class BarcodeShape extends RMShape implements RMShapePainter.Paint, Java2DShapePainter
  • Constructor Details

    • BarcodeShape

      public BarcodeShape()
  • Method Details

    • paintShape

      public void paintShape(RMShapePainter aPainter, Graphics2D g)
      Specified by:
      paintShape in interface RMShapePainter.Paint
    • basePaint

      public void basePaint(Graphics2D g, Rectangle2D rect)
      Called from PDF painting - fillwith white first
      Specified by:
      basePaint in interface Java2DShapePainter
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXML in class RMShape
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXML in class RMShape
    • rpgClone

      public RMShape rpgClone(ReportMill aReportMill)
      Description copied from class: RMShape
      A clone implementation that copies this shape and its children, performing data substituion as well.
      Overrides:
      rpgClone in class RMShape
    • equals

      public boolean equals(Object anObj)
      Standard equals implementation.
      Overrides:
      equals in class RMShape
    • copy

      public void copy(Object anObj)
      Copies the attributes from the given object.
      Overrides:
      copy in class RMShape
    • getBarcodeHeight

      public int getBarcodeHeight()
    • setBarcodeHeight

      public void setBarcodeHeight(int barcodeHeight)
    • getBarcodeWidth

      public int getBarcodeWidth()
    • setBarcodeWidth

      public void setBarcodeWidth(int barcodeWidth)
    • getString

      public RMXString getString()
    • setString

      public void setString(RMXString string)
    • getToolClassName

      public String getToolClassName()
      Description copied from class: RMShape
      Editor method - returns the tool class name for this shape.
      Overrides:
      getToolClassName in class RMShape
    • setShowText

      public void setShowText(boolean showText)
    • isShowText

      public boolean isShowText()
    • getBarcodeType

      public int getBarcodeType()
    • setBarcodeType

      public void setBarcodeType(int barcodeType)