|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.barcode.BarcodeSettings
public class BarcodeSettings
Packages settings for barcodes. Canonical implementation of IBarCodeSettings.
| Constructor Summary | |
|---|---|
BarcodeSettings()
|
|
| Method Summary | |
|---|---|
static void |
applyKey(java.lang.String key)
Provide a valid key to remove the logo of E-iceblue in the barcode view or image generated by this component |
boolean |
getAutoResize()
Gets adjust size of barcode image automatically. |
java.awt.Color |
getBackColor()
The back color of the barcode. |
float |
getBarHeight()
The height of the barcode. |
java.awt.Color |
getBorderColor()
Border's color |
int |
getBorderDashStyle()
Border's Dash style. |
float |
getBorderWidth()
Borders's width of barcode image. |
float |
getBottomMargin()
The vertical bottom offset height of the barcode to the border. |
CodabarChar |
getCodabarStartChar()
Start character of codabar barcode. |
CodabarChar |
getCodabarStopChar()
Stop character of codabar barcode. |
Code128SetMode |
getCode128SetMode()
Gets code set of Pdf417 barcode. |
int |
getColumnCount()
Columns of 2D Barcode. |
java.lang.String |
getData()
The data to render with the barcode. |
java.lang.String |
getData2D()
Gets text of 2D barcode. |
float |
getDpiX()
Gets the horizontal resolution. |
float |
getDpiY()
Gets the horizontal resolution. |
java.awt.Color |
getFontColor()
The color of the font to render text in the barcode. |
java.awt.Color |
getForeColor()
Gets foreground color of the barcode image. |
float |
getImageHeight()
Height of Barcode image. |
float |
getImageWidth()
Width of Barcode image. |
float |
getLeftMargin()
The horizontal (left and right) offset width of the barcode to the border. |
int |
getMacroFileIndex()
Gets macro pdf417 Barcode's file index. |
int |
getMacroSegmentIndex()
Gets macro pdf417 Barcode's segment index. |
Pdf417DataMode |
getPdf417DataMode()
Gets data mode of Pdf417 barcode. |
Pdf417ECL |
getPdf417ECL()
Error correction level of pdf417 Barcode. |
boolean |
getPdf417Truncated()
Indicates wheter has been truncated of pdf 417 Barcode. |
QRCodeDataMode |
getQRCodeDataMode()
Gets of QRCode Barcode. |
QRCodeECL |
getQRCodeECL()
Error correction level of QRCode Barcode. |
ResolutionType |
getResolutionType()
Gets he resolution. |
float |
getRightMargin()
The horizontal right offset width of the barcode to the border. |
float |
getRotate()
Gets rotation angle of BarCode image. |
int |
getRowCount()
Rows of 2D Barcode. |
boolean |
getShowCheckSumChar()
Indicates whether shows checksum digit in Code128 and EAN128 Barcodes. |
boolean |
getShowText()
Indicates whether display barcode's text. |
boolean |
getShowTextOnBottom()
Indicates whether display barcode's text on bottom. |
boolean |
getShowTopText()
Indicates whether displays top text. |
java.lang.String |
getSupData()
Supplement data. |
float |
getSupSpace()
Space between main and supplement Barcode. |
StringAlignment |
getTextAlignment()
The position of the text rendered in the barcode. |
java.awt.Color |
getTextColor()
The color of the bar of the barcode. |
java.awt.Font |
getTextFont()
The font used to render the text inside the barcode. |
float |
getTextMargin()
Space between barcode and text. |
TextRenderingHint |
getTextRenderingHint()
Quality of text rendering. |
TextRenderingHint |
getTextRenderingHintInner()
Gets quality of barcode text rendering. |
float |
getTopMargin()
The vertical top offset height of the barcode to the border. |
java.lang.String |
getTopText()
Top text of barcode. |
StringAlignment |
getTopTextAligment()
Indicate top text aligment. |
java.awt.Color |
getTopTextColor()
Top text color of barcode. |
java.awt.Font |
getTopTextFont()
Top text font of barcode. |
BarCodeType |
getType()
The type of the barcode. |
GraphicsUnit |
getUnit()
Measurement unit. |
boolean |
getUseAntiAlias()
Inidcates whether use anti alias mode to render image. |
CheckSumMode |
getUseChecksum()
Whether the barcode will use an (optional) checksum. |
float |
getWideNarrowRatio()
Wide/narrow ratio. |
float |
getX()
Width of barcode bar module. |
float |
getXYRatio()
height/width ratio of 2D Barcode's module. |
float |
getY()
Height of 2D barcode bar module. |
boolean |
hasBorder()
Indicates whether has border; |
void |
hasBorder(boolean value)
Indicates whether has border; |
static boolean |
hasValidKey()
|
void |
setAutoResize(boolean value)
Sets adjust size of barcode image automatically. |
void |
setBackColor(java.awt.Color value)
The back color of the barcode. |
void |
setBarHeight(float value)
The height of the barcode. |
void |
setBorderColor(java.awt.Color value)
Border's color |
void |
setBorderDashStyle(int value)
Border's Dash style. |
void |
setBorderWidth(float value)
Borders's width of barcode image. |
void |
setBottomMargin(float value)
The vertical bottom offset height of the barcode to the border. |
void |
setCodabarStartChar(CodabarChar value)
Start character of codabar barcode. |
void |
setCodabarStopChar(CodabarChar value)
Stop character of codabar barcode. |
void |
setCode128SetMode(Code128SetMode value)
Sets code set of Pdf417 barcode. |
void |
setColumnCount(int value)
Columns of 2D Barcode. |
void |
setData(java.lang.String value)
The data to render with the barcode. |
void |
setData2D(java.lang.String value)
Sets text of 2D barcode. |
void |
setDpiX(float value)
Sets the horizontal resolution. |
void |
setDpiY(float value)
Sets the horizontal resolution. |
void |
setFontColor(java.awt.Color value)
The color of the font to render text in the barcode. |
void |
setForeColor(java.awt.Color value)
Sets foreground color of the barcode image. |
void |
setImageHeight(float value)
Height of Barcode image. |
void |
setImageWidth(float value)
Width of Barcode image. |
void |
setLeftMargin(float value)
The horizontal (left and right) offset width of the barcode to the border. |
void |
setMacroFileIndex(int value)
Sets macro pdf417 Barcode's file index. |
void |
setMacroSegmentIndex(int value)
Sets macro pdf417 Barcode's segment index. |
void |
setPdf417DataMode(Pdf417DataMode value)
Sets data mode of Pdf417 barcode. |
void |
setPdf417ECL(Pdf417ECL value)
Error correction level of pdf417 Barcode. |
void |
setPdf417Truncated(boolean value)
Indicates wheter has been truncated of pdf 417 Barcode. |
void |
setQRCodeDataMode(QRCodeDataMode value)
Sets of QRCode Barcode. |
void |
setQRCodeECL(QRCodeECL value)
Error correction level of QRCode Barcode. |
void |
setResolutionType(ResolutionType value)
Sets he resolution. |
void |
setRightMargin(float value)
The horizontal right offset width of the barcode to the border. |
void |
setRotate(float value)
Sets rotation angle of BarCode image. |
void |
setRowCount(int value)
Rows of 2D Barcode. |
void |
setShowCheckSumChar(boolean value)
Indicates whether shows checksum digit in Code128 and EAN128 Barcodes. |
void |
setShowText(boolean value)
Indicates whether display barcode's text. |
void |
setShowTextOnBottom(boolean value)
Indicates whether display barcode's text on bottom. |
void |
setShowTopText(boolean value)
Indicates whether displays top text. |
void |
setSupData(java.lang.String value)
Supplement data. |
void |
setSupSpace(float value)
Space between main and supplement Barcode. |
void |
setTextAlignment(StringAlignment value)
The position of the text rendered in the barcode. |
void |
setTextColor(java.awt.Color value)
The color of the bar of the barcode. |
void |
setTextFont(java.awt.Font value)
The font used to render the text inside the barcode. |
void |
setTextMargin(float value)
Space between barcode and text. |
void |
setTextRenderingHint(TextRenderingHint textRenderingHint)
Quality of text rendering. |
void |
setTextRenderingHintInner(TextRenderingHint value)
Sets quality of barcode text rendering. |
void |
setTopMargin(float value)
The vertical top offset height of the barcode to the border. |
void |
setTopText(java.lang.String value)
Top text of barcode. |
void |
setTopTextAligment(StringAlignment value)
Indicate top text aligment. |
void |
setTopTextColor(java.awt.Color value)
Top text color of barcode. |
void |
setTopTextFont(java.awt.Font value)
Top text font of barcode. |
void |
setType(BarCodeType value)
The type of the barcode. |
void |
setUnit(GraphicsUnit value)
Measurement unit. |
void |
setUseAntiAlias(boolean value)
Inidcates whether use anti alias mode to render image. |
void |
setUseChecksum(CheckSumMode value)
Whether the barcode will use an (optional) checksum. |
void |
setWideNarrowRatio(float value)
Wide/narrow ratio. |
void |
setX(float value)
Width of barcode bar module. |
void |
setXYRatio(float value)
height/width ratio of 2D Barcode's module. |
void |
setY(float value)
Height of 2D barcode bar module. |
| Constructor Detail |
|---|
public BarcodeSettings()
| Method Detail |
|---|
public BarCodeType getType()
getType in interface IBarCodeSettingspublic void setType(BarCodeType value)
setType in interface IBarCodeSettingspublic java.lang.String getData()
getData in interface IBarCodeSettingspublic void setData(java.lang.String value)
setData in interface IBarCodeSettingspublic java.awt.Color getBackColor()
getBackColor in interface IBarCodeSettingspublic void setBackColor(java.awt.Color value)
setBackColor in interface IBarCodeSettingspublic java.awt.Color getTextColor()
getTextColor in interface IBarCodeSettingspublic void setTextColor(java.awt.Color value)
setTextColor in interface IBarCodeSettingspublic float getBarHeight()
BarcodeSettings.getUnit().
getBarHeight in interface IBarCodeSettingspublic void setBarHeight(float value)
BarcodeSettings.getUnit().
setBarHeight in interface IBarCodeSettingspublic java.awt.Color getFontColor()
public void setFontColor(java.awt.Color value)
public float getTopMargin()
BarcodeSettings.getUnit().
getTopMargin in interface IBarCodeSettingspublic void setTopMargin(float value)
BarcodeSettings.getUnit().
setTopMargin in interface IBarCodeSettingspublic float getLeftMargin()
BarcodeSettings.getUnit().
getLeftMargin in interface IBarCodeSettingspublic void setLeftMargin(float value)
BarcodeSettings.getUnit().
setLeftMargin in interface IBarCodeSettingspublic java.awt.Font getTextFont()
getTextFont in interface IBarCodeSettingspublic void setTextFont(java.awt.Font value)
setTextFont in interface IBarCodeSettingspublic CheckSumMode getUseChecksum()
getUseChecksum in interface IBarCodeSettingspublic void setUseChecksum(CheckSumMode value)
setUseChecksum in interface IBarCodeSettingspublic boolean getAutoResize()
getAutoResize in interface IBarCodeSettingspublic void setAutoResize(boolean value)
setAutoResize in interface IBarCodeSettingspublic java.lang.String getData2D()
getData2D in interface IBarCodeSettingspublic void setData2D(java.lang.String value)
setData2D in interface IBarCodeSettingspublic java.lang.String getTopText()
getTopText in interface IBarCodeSettingspublic void setTopText(java.lang.String value)
setTopText in interface IBarCodeSettingspublic java.awt.Color getTopTextColor()
getTopTextColor in interface IBarCodeSettingspublic void setTopTextColor(java.awt.Color value)
setTopTextColor in interface IBarCodeSettingspublic java.awt.Font getTopTextFont()
getTopTextFont in interface IBarCodeSettingspublic void setTopTextFont(java.awt.Font value)
setTopTextFont in interface IBarCodeSettingspublic boolean getShowTopText()
getShowTopText in interface IBarCodeSettingspublic void setShowTopText(boolean value)
setShowTopText in interface IBarCodeSettingspublic GraphicsUnit getUnit()
getUnit in interface IBarCodeSettingspublic void setUnit(GraphicsUnit value)
setUnit in interface IBarCodeSettingspublic TextRenderingHint getTextRenderingHintInner()
public void setTextRenderingHintInner(TextRenderingHint value)
public TextRenderingHint getTextRenderingHint()
IBarCodeSettings
getTextRenderingHint in interface IBarCodeSettingspublic void setTextRenderingHint(TextRenderingHint textRenderingHint)
IBarCodeSettings
setTextRenderingHint in interface IBarCodeSettingspublic float getRotate()
getRotate in interface IBarCodeSettingspublic void setRotate(float value)
setRotate in interface IBarCodeSettingspublic java.awt.Color getForeColor()
getForeColor in interface IBarCodeSettingspublic void setForeColor(java.awt.Color value)
setForeColor in interface IBarCodeSettingspublic boolean getShowText()
getShowText in interface IBarCodeSettingspublic void setShowText(boolean value)
setShowText in interface IBarCodeSettingspublic boolean getShowTextOnBottom()
getShowTextOnBottom in interface IBarCodeSettingspublic void setShowTextOnBottom(boolean value)
setShowTextOnBottom in interface IBarCodeSettingspublic float getBottomMargin()
getBottomMargin in interface IBarCodeSettingspublic void setBottomMargin(float value)
setBottomMargin in interface IBarCodeSettingspublic float getTextMargin()
getTextMargin in interface IBarCodeSettingspublic void setTextMargin(float value)
setTextMargin in interface IBarCodeSettingspublic float getRightMargin()
getRightMargin in interface IBarCodeSettingspublic void setRightMargin(float value)
setRightMargin in interface IBarCodeSettingspublic StringAlignment getTextAlignment()
IBarCodeSettings
getTextAlignment in interface IBarCodeSettingspublic void setTextAlignment(StringAlignment value)
IBarCodeSettings
setTextAlignment in interface IBarCodeSettingspublic boolean getUseAntiAlias()
getUseAntiAlias in interface IBarCodeSettingspublic void setUseAntiAlias(boolean value)
setUseAntiAlias in interface IBarCodeSettingspublic float getImageHeight()
getImageHeight in interface IBarCodeSettingspublic void setImageHeight(float value)
setImageHeight in interface IBarCodeSettingspublic float getImageWidth()
getImageWidth in interface IBarCodeSettingspublic void setImageWidth(float value)
setImageWidth in interface IBarCodeSettingspublic int getColumnCount()
getColumnCount in interface IBarCodeSettingspublic void setColumnCount(int value)
setColumnCount in interface IBarCodeSettingspublic int getRowCount()
getRowCount in interface IBarCodeSettingspublic void setRowCount(int value)
setRowCount in interface IBarCodeSettingspublic float getDpiX()
getDpiX in interface IBarCodeSettingspublic void setDpiX(float value)
setDpiX in interface IBarCodeSettingspublic float getDpiY()
getDpiY in interface IBarCodeSettingspublic void setDpiY(float value)
setDpiY in interface IBarCodeSettingspublic ResolutionType getResolutionType()
getResolutionType in interface IBarCodeSettingspublic void setResolutionType(ResolutionType value)
setResolutionType in interface IBarCodeSettingspublic boolean getShowCheckSumChar()
getShowCheckSumChar in interface IBarCodeSettingspublic void setShowCheckSumChar(boolean value)
setShowCheckSumChar in interface IBarCodeSettingspublic CodabarChar getCodabarStartChar()
getCodabarStartChar in interface IBarCodeSettingspublic void setCodabarStartChar(CodabarChar value)
setCodabarStartChar in interface IBarCodeSettingspublic CodabarChar getCodabarStopChar()
getCodabarStopChar in interface IBarCodeSettingspublic void setCodabarStopChar(CodabarChar value)
setCodabarStopChar in interface IBarCodeSettingspublic java.lang.String getSupData()
getSupData in interface IBarCodeSettingspublic void setSupData(java.lang.String value)
setSupData in interface IBarCodeSettingspublic float getSupSpace()
getSupSpace in interface IBarCodeSettingspublic void setSupSpace(float value)
setSupSpace in interface IBarCodeSettingspublic float getWideNarrowRatio()
getWideNarrowRatio in interface IBarCodeSettingspublic void setWideNarrowRatio(float value)
setWideNarrowRatio in interface IBarCodeSettingspublic boolean hasBorder()
hasBorder in interface IBarCodeSettingspublic void hasBorder(boolean value)
hasBorder in interface IBarCodeSettingspublic float getBorderWidth()
getBorderWidth in interface IBarCodeSettingspublic void setBorderWidth(float value)
setBorderWidth in interface IBarCodeSettingspublic java.awt.Color getBorderColor()
getBorderColor in interface IBarCodeSettingspublic void setBorderColor(java.awt.Color value)
setBorderColor in interface IBarCodeSettingspublic int getBorderDashStyle()
getBorderDashStyle in interface IBarCodeSettingspublic void setBorderDashStyle(int value)
setBorderDashStyle in interface IBarCodeSettingspublic float getX()
getX in interface IBarCodeSettingspublic void setX(float value)
setX in interface IBarCodeSettingspublic float getY()
getY in interface IBarCodeSettingspublic void setY(float value)
setY in interface IBarCodeSettingspublic float getXYRatio()
getXYRatio in interface IBarCodeSettingspublic void setXYRatio(float value)
setXYRatio in interface IBarCodeSettingspublic Code128SetMode getCode128SetMode()
getCode128SetMode in interface IBarCodeSettingspublic void setCode128SetMode(Code128SetMode value)
setCode128SetMode in interface IBarCodeSettingspublic Pdf417DataMode getPdf417DataMode()
getPdf417DataMode in interface IBarCodeSettingspublic void setPdf417DataMode(Pdf417DataMode value)
setPdf417DataMode in interface IBarCodeSettingspublic Pdf417ECL getPdf417ECL()
getPdf417ECL in interface IBarCodeSettingspublic void setPdf417ECL(Pdf417ECL value)
setPdf417ECL in interface IBarCodeSettingspublic boolean getPdf417Truncated()
getPdf417Truncated in interface IBarCodeSettingspublic void setPdf417Truncated(boolean value)
setPdf417Truncated in interface IBarCodeSettingspublic int getMacroFileIndex()
getMacroFileIndex in interface IBarCodeSettingspublic void setMacroFileIndex(int value)
setMacroFileIndex in interface IBarCodeSettingspublic int getMacroSegmentIndex()
getMacroSegmentIndex in interface IBarCodeSettingspublic void setMacroSegmentIndex(int value)
setMacroSegmentIndex in interface IBarCodeSettingspublic QRCodeDataMode getQRCodeDataMode()
getQRCodeDataMode in interface IBarCodeSettingspublic void setQRCodeDataMode(QRCodeDataMode value)
setQRCodeDataMode in interface IBarCodeSettingspublic QRCodeECL getQRCodeECL()
getQRCodeECL in interface IBarCodeSettingspublic void setQRCodeECL(QRCodeECL value)
setQRCodeECL in interface IBarCodeSettingspublic StringAlignment getTopTextAligment()
IBarCodeSettings
getTopTextAligment in interface IBarCodeSettingspublic void setTopTextAligment(StringAlignment value)
IBarCodeSettings
setTopTextAligment in interface IBarCodeSettingspublic static boolean hasValidKey()
public static void applyKey(java.lang.String key)
key - Barcode key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||