|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.ext.barcode.Barcode
com.jrefinery.report.ext.barcode.BarcodeEAN
com.jrefinery.report.ext.barcode.BarcodeUPCE
Field Summary | |
protected static float[] |
TEXTPOS_UPCE
The x coordinates to place the text. |
Fields inherited from class com.jrefinery.report.ext.barcode.BarcodeEAN |
BARS, EVEN, GUARD_EMPTY, ODD |
Fields inherited from class com.jrefinery.report.ext.barcode.Barcode |
DEFAULT_FONT |
Constructor Summary | |
BarcodeUPCE()
|
Method Summary | |
protected void |
drawCode(java.awt.Graphics2D g2,
float keepBarX,
float textStartY)
|
byte[] |
getBars()
Creates the bars for the barcode UPCE. |
protected int[] |
getGuardBarPositions()
|
protected float |
getWidth()
|
protected boolean |
isTextBased()
|
Methods inherited from class com.jrefinery.report.ext.barcode.BarcodeEAN |
calculateEANParity, createImageWithBarcode, getBarcodeSize, isGuardBars, setGuardBars |
Methods inherited from class com.jrefinery.report.ext.barcode.Barcode |
clone, getBarHeight, getBaseline, getCode, getFont, getFontAscent, getFontDescent, getMinWidth, getTextAlignment, isDisplayChecksumText, isGenerateChecksum, setBarHeight, setBaseline, setCode, setDisplayChecksumText, setFont, setGenerateChecksum, setMinWidth, setTextAlignment |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static float[] TEXTPOS_UPCE
Constructor Detail |
public BarcodeUPCE()
Method Detail |
protected float getWidth()
getWidth
in class BarcodeEAN
protected boolean isTextBased()
isTextBased
in class BarcodeEAN
protected int[] getGuardBarPositions()
getGuardBarPositions
in class BarcodeEAN
public byte[] getBars()
getBars
in class BarcodeEAN
protected void drawCode(java.awt.Graphics2D g2, float keepBarX, float textStartY)
drawCode
in class BarcodeEAN
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |