Style Intelligence v12.0

inetsoft.report.painter
Class BarcodeCode128Presenter

java.lang.Object
  extended by inetsoft.report.painter.AbstractBarcodePresenter
      extended by inetsoft.report.painter.BarcodeCode128Presenter
All Implemented Interfaces:
Presenter, Serializable

public class BarcodeCode128Presenter
extends AbstractBarcodePresenter

This presenter displays a string in the Code 128 symbology.

See Also:
Serialized Form

Constructor Summary
BarcodeCode128Presenter()
           
 
Method Summary
protected  net.sourceforge.barbecue.Barcode createBarcode(String str)
          Create a barcode object.
protected  double getBarcodeSizeRate()
          There is some bugs aroung barbecue barcode generator which will not return correct prefer width for small width setting.
 String getDisplayName()
          Get the display name of this presenter.
 
Methods inherited from class inetsoft.report.painter.AbstractBarcodePresenter
getBackground, getBarHeight, getBarWidth, getPreferredSize, getResolution, isFill, isPresenterOf, isPresenterOf, isRawDataRequired, paint, setBackground, setBarHeight, setBarWidth, setFont, setResolution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarcodeCode128Presenter

public BarcodeCode128Presenter()
Method Detail

createBarcode

protected net.sourceforge.barbecue.Barcode createBarcode(String str)
Create a barcode object.

Specified by:
createBarcode in class AbstractBarcodePresenter

getDisplayName

public String getDisplayName()
Get the display name of this presenter.

Returns:
a user-friendly name for this presenter.

getBarcodeSizeRate

protected double getBarcodeSizeRate()
There is some bugs aroung barbecue barcode generator which will not return correct prefer width for small width setting. Fixed it using a fixed correct rate.

Overrides:
getBarcodeSizeRate in class AbstractBarcodePresenter

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.