public abstract class ZebraBarCode extends ZebraElement
defaultDrawGraphic, positionX, positionY| Constructor and Description |
|---|
ZebraBarCode(int positionX,
int positionY,
String text) |
ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth)
Default Constructeur width position and text
|
ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
boolean showTextInterpretation,
boolean showTextInterpretationAbove)
Constructeur used to print text (above or below) with code
|
ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
boolean showTextInterpretation,
int moduleWidth,
int wideBarRatio)
Default Constructor width position and text
|
ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
int moduleWidth,
int wideBarRatio)
Default Constructeur width position and text
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawPreviewGraphic(PrinterOptions printerOptions,
Graphics2D graphic)
Used to draw label preview.
|
Integer |
getBarCodeHeigth() |
Integer |
getBarCodeWidth() |
StringBuilder |
getStartZplCodeBuilder() |
String |
getText() |
Integer |
getWideBarRatio() |
ZebraRotation |
getZebraRotation() |
boolean |
isShowTextInterpretation() |
boolean |
isShowTextInterpretationAbove() |
ZebraBarCode |
setBarCodeHeigth(Integer barCodeHeigth) |
ZebraBarCode |
setBarCodeWidth(Integer barCodeWidth) |
ZebraBarCode |
setShowTextInterpretation(boolean showTextInterpretation) |
ZebraBarCode |
setShowTextInterpretationAbove(boolean showTextInterpretationAbove) |
ZebraBarCode |
setText(String text) |
ZebraBarCode |
setWideBarRatio(Integer wideBarRatio) |
ZebraBarCode |
setZebraRotation(ZebraRotation zebraRotation) |
drawTopString, getPositionX, getPositionY, getZplCode, getZplCodePosition, setPositionX, setPositionYpublic ZebraBarCode(int positionX,
int positionY,
String text)
public ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth)
positionX - left margin (explain in dots)positionY - top margin (explain in dots)text - code to writebarCodeHeigth - height of code barpublic ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
int moduleWidth,
int wideBarRatio)
positionX - left margin (explain in dots)positionY - top margin (explain in dots)text - code to writebarCodeHeigth - height of code barbarCodeWidth - width(optionnal) of code barwideBarRatio - wide bar to narrow bar width ratiopublic ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
boolean showTextInterpretation,
int moduleWidth,
int wideBarRatio)
positionX - left margin (explain in dots)positionY - top margin (explain in dots)text - code to writebarCodeHeigth - height of code barshowTextInterpretation - true to print interpretation linemoduleWidth - width(optionnal) of code barwideBarRatio - wide bar to narrow bar width ratiopublic ZebraBarCode(int positionX,
int positionY,
String text,
int barCodeHeigth,
boolean showTextInterpretation,
boolean showTextInterpretationAbove)
positionX - left margin (explain in dots)positionY - top margin (explain in dots)text - code to writebarCodeHeigth - height of code barshowTextInterpretation - true to print interpretation lineshowTextInterpretationAbove - true to add above, false to add belowpublic StringBuilder getStartZplCodeBuilder()
public void drawPreviewGraphic(PrinterOptions printerOptions, Graphics2D graphic)
drawPreviewGraphic in class ZebraElementgraphic - printerOptions - TODOpublic Integer getBarCodeWidth()
public Integer getBarCodeHeigth()
public Integer getWideBarRatio()
public ZebraRotation getZebraRotation()
public boolean isShowTextInterpretation()
public boolean isShowTextInterpretationAbove()
public String getText()
public ZebraBarCode setBarCodeWidth(Integer barCodeWidth)
public ZebraBarCode setBarCodeHeigth(Integer barCodeHeigth)
public ZebraBarCode setWideBarRatio(Integer wideBarRatio)
public ZebraBarCode setZebraRotation(ZebraRotation zebraRotation)
public ZebraBarCode setShowTextInterpretation(boolean showTextInterpretation)
public ZebraBarCode setShowTextInterpretationAbove(boolean showTextInterpretationAbove)
public ZebraBarCode setText(String text)
Copyright © 2015. All Rights Reserved.