Class Barbecue

  • All Implemented Interfaces:
    Serializable, net.sf.jasperreports.renderers.DataRenderable, net.sf.jasperreports.renderers.DimensionRenderable, net.sf.jasperreports.renderers.Graphics2DRenderable, net.sf.jasperreports.renderers.Renderable, net.sf.jasperreports.renderers.RenderToImageAwareRenderable

    public class Barbecue
    extends net.sf.jasperreports.renderers.AbstractRenderToImageDataRenderer
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class net.sf.jasperreports.renderers.AbstractRenderToImageDataRenderer

        EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE, EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
      • Fields inherited from interface net.sf.jasperreports.renderers.Renderable

        PROPERTY_IMAGE_DPI
    • Constructor Summary

      Constructors 
      Constructor Description
      Barbecue​(net.sourceforge.barbecue.Barcode barcode)  
      Barbecue​(net.sourceforge.barbecue.Barcode barcode, boolean showDrawingText)
      Convenience method for creating a barcode renderer with the option of
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void render​(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext, Graphics2D grx, Rectangle2D rectangle)  
      • Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderToImageDataRenderer

        getBackcolor, getData, getDimension
      • Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderToImageAwareRenderer

        createGraphics, getImageDataDPI
      • Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderer

        getId
    • Constructor Detail

      • Barbecue

        public Barbecue​(net.sourceforge.barbecue.Barcode barcode)
      • Barbecue

        public Barbecue​(net.sourceforge.barbecue.Barcode barcode,
                        boolean showDrawingText)
        Convenience method for creating a barcode renderer with the option of
        Parameters:
        barcode - The barcode
        showDrawingText - If the alphanumeric text should be visible below the barcode
    • Method Detail

      • render

        public void render​(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext,
                           Graphics2D grx,
                           Rectangle2D rectangle)
                    throws net.sf.jasperreports.engine.JRException
        Throws:
        net.sf.jasperreports.engine.JRException