inetsoft.report.painter
Class BarcodeCode128Presenter
java.lang.Object
inetsoft.report.painter.AbstractBarcodePresenter
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
|
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 |
BarcodeCode128Presenter
public BarcodeCode128Presenter()
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