Package com.idautomation.databar
Class DataBar
java.lang.Object
java.awt.Component
java.awt.Canvas
com.idautomation.databar.DataBar
- All Implemented Interfaces:
ImageObserver
,MenuContainer
,Serializable
,Accessible
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.Component
Component.BaselineResizeBehavior
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Determines if data after the tilde character should be interpreted as an ASCII code.public boolean applyTilde = false;boolean
Determines if the margins around the barcode should be automatically set.Background color.The color of the bars in the barcode; Default=black.double
The height of the bars in the bar code.int
Specifies the specific type of bar code to create.static final int
Constant for selecting the showTextLocation Bottom.The data to be encoded as a barcode.static final int
Constant for selecting the Code128 symbology.char
The character set to be used in code 128; Possible values are "0" for "AUTO", "A", "B" or "C"; The recommended setting and the default is "0" (Automatic)int
Compaction mode for PDF417 and MicroPDF417 barcodes.Data that is encoded in the 2D composite portion of the barcode.static final int
Constant for selecting the Databar symbology.static final int
Constant for selecting the Databar Expanded symbology.static final int
Constant for selecting the Databar Limited symbology.static final int
Constant for selecting the Databar Omni-Directional symbology.static final int
Constant for selecting the Databar Stacked symbology.static final int
Constant for selecting the Databar Truncated symbology.static final int
Constant for selecting the EAN 13 symbology.static final int
Constant for selecting the EAN 8 symbology.int
Level of error correction for PDF417 (only--not MicroPDF417) barcodes.int
The number of segments for expanded stacked barcodes.The color of the text; Default=black.boolean
If true, a leading (01) is inserted in the beginning of the human readable text of the barcode.boolean
Places the linkage flag in the human readable text.boolean
Determines if this is a composite barcode.boolean
Determines if the databar height should be fixed to meet specification.double
Left margin of the barcode (also know as quiet zone).static final int
Constant for selecting the Micro PDF417 symbology.int
Ratio of height to width of the blocks in a PDF417 or MicroPDF417 barcode.static final int
Constant for selecting the PDF417 symbology.int
Number of columns for PDF417 & Micro PDF417 barcodes.int
Number of rows for PDF417 & Micro PDF417 barcodes.int
Resolution used to convert from CM to pixels; Default is the screen resolution of pixels per CM.int
The rotation angle; Valid values are 0 (default), 90, 180 & 270.boolean
If true, the human readable text will be displayed with the barcode; Default =true.int
Position of human readable text in relation to the barcode.int
Variable to hold the spacing Number.double
The distance between the end of the barcode and the beginning of the supplement for UPC/EAN symbologies.The font of the text underneath the barcode; Default = Arial, point size = 11double
The amount of space in CM between the barcode and the human readable text.static final int
Constant for selecting the showTextLocation Top.double
Top margin of the barcode in relation to the top of the painting area.boolean
Truncates a PDF417 barcode.static final int
Constant for selecting the UPCA symbology.static final int
Constant for selecting the UPCE symbology.int
System to be used in UPCE.double
Size of narrow bars or spaces.Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the applyTilde property.boolean
Gets the autoSize property.Gets the backColor property.double
Gets the barHeightCM property.int
Gets the spliceText property.Gets the Code128Set property.Gets the compositeData property.boolean
Gets the isDataBarSuggestedHeight property.Gets the code property.int
Gets the expandedStackedSegments property.getFont()
Gets the textFont property.Gets the barColor property.boolean
Gets the includeAIinHRText property.boolean
Gets the includeLinkageFlaginHRText property.boolean
Gets the isComposite property.double
Gets the leftMarginCM property.int
Gets the PDF417Columns property.int
Gets the ecLevel property.int
Gets the compactionMode property.int
Gets the PDF417Rows property.int
Gets the resolution property.Initial preferred width and height property of the beanint
Gets the rotate property.boolean
Gets the showText property.int
Gets the showText property.double
Gets the supSeparationCM property.int
Gets the barType property.Gets the fontColor property.double
Gets the textMarginCM property.double
Gets the topMarginCM property.boolean
Gets the truncatePDF417 property.int
Gets the UPCESystem property.double
Gets the X_DimensionCM property.int
Gets the pdf_XtoYRatio property.boolean
IsDemo()
Determines if the control is a demo or licensed version.void
paints the barcode and rotates it if necessaryvoid
setApplyTilde
(boolean value) Sets the applyTilde property.void
setAutoSize
(boolean value) Sets the autoSize property.void
setBackground
(Color newColor) Sets the backColor property.void
setBarHeightCM
(float value) Sets the barHeightCM property.void
setCharacterGrouping
(int value) Sets the spliceText property.void
setCode128Set
(String newSet) Sets the Code128Set property.void
setCompositeData
(String value) Sets the compositeData property.void
setDataBarSuggestedHeight
(boolean value) Sets the isDataBarSuggestedHeight property.void
setDataToEncode
(String newCode) Sets the code property.void
setExpandedStackedSegments
(int value) Sets the expandedStackedSegments property.void
Sets the textFont property.void
setForeground
(Color newColor) Sets the barColor property.void
setImageSize
(int imgWidth, int imgHeight) Sets the size of the generated image, if used then autoSize is set to false.void
setIncludeAIinHRText
(boolean value) Sets the includeAIinHRText property.void
setIsComposite
(boolean value) Sets the isComposite property.void
setLeftMarginCM
(double value) Sets the leftMarginCM property.void
setPDFColumns
(int value) Sets the PDF417Columns property.void
setPDFErrorCorrectionLevel
(int value) Sets the ecLevel property.void
setPDFMode
(int value) Sets the compactionMode property.void
setPDFRows
(int value) Sets the PDF417Rows property.void
setPixelsPerCM
(int newRes) Sets the resolution property.void
setRotationAngle
(int newRotate) Sets the rotate property.void
setShowText
(boolean newVal) Sets the showText property.void
setShowTextLocation
(int newVal) Sets the showText property.void
setsIncludeLinkageFlaginHRText
(boolean value) Sets the includeLinkageFlaginHRText property.void
setSuppSeparationCM
(double value) Sets the supSeparationCM property.void
setSymbologyID
(int value) Sets the barType property.void
setTextFontColor
(Color newColor) Sets the fontColor property.void
setTextMarginCM
(double value) Sets the textMarginCM property.void
setTopMarginCM
(double value) Sets the topMarginCM property.void
setTruncatePDF417
(boolean value) Sets the truncatePDF417 property.void
setUPCESystem
(int value) Sets the UPCESystem property.void
setXDimensionCM
(double newX) Sets the X_DimensionCM property.void
setXtoYRatio
(int value) Sets the pdf_XtoYRatio property.Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFontMetrics, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
-
Field Details
-
CODE128
public static final int CODE128Constant for selecting the Code128 symbology.- See Also:
-
DATABAR
public static final int DATABARConstant for selecting the Databar symbology.- See Also:
-
DATABAREXPANDED
public static final int DATABAREXPANDEDConstant for selecting the Databar Expanded symbology.- See Also:
-
DATABARLIMITED
public static final int DATABARLIMITEDConstant for selecting the Databar Limited symbology.- See Also:
-
DATABARSTACKED
public static final int DATABARSTACKEDConstant for selecting the Databar Stacked symbology.- See Also:
-
DATABAROMNI
public static final int DATABAROMNIConstant for selecting the Databar Omni-Directional symbology.- See Also:
-
DATABARTRUNCATED
public static final int DATABARTRUNCATEDConstant for selecting the Databar Truncated symbology.- See Also:
-
EAN13
public static final int EAN13Constant for selecting the EAN 13 symbology.- See Also:
-
EAN8
public static final int EAN8Constant for selecting the EAN 8 symbology.- See Also:
-
MICROPDF417
public static final int MICROPDF417Constant for selecting the Micro PDF417 symbology.- See Also:
-
PDF417
public static final int PDF417Constant for selecting the PDF417 symbology.- See Also:
-
UPCA
public static final int UPCAConstant for selecting the UPCA symbology.- See Also:
-
UPCE
public static final int UPCEConstant for selecting the UPCE symbology.- See Also:
-
TOP
public static final int TOPConstant for selecting the showTextLocation Top.- See Also:
-
BOTTOM
public static final int BOTTOMConstant for selecting the showTextLocation Bottom.- See Also:
-
Code128Set
public char Code128SetThe character set to be used in code 128; Possible values are "0" for "AUTO", "A", "B" or "C"; The recommended setting and the default is "0" (Automatic) -
resolution
public int resolutionResolution used to convert from CM to pixels; Default is the screen resolution of pixels per CM. -
textFont
The font of the text underneath the barcode; Default = Arial, point size = 11- See Also:
-
fontColor
The color of the text; Default=black. -
code
The data to be encoded as a barcode. -
expandedStackedSegments
public int expandedStackedSegmentsThe number of segments for expanded stacked barcodes. -
spliceText
public int spliceTextVariable to hold the spacing Number. 0 by default, which is disabled; -
compactionMode
public int compactionModeCompaction mode for PDF417 and MicroPDF417 barcodes.- See Also:
-
applyTilde
public boolean applyTildeDetermines if data after the tilde character should be interpreted as an ASCII code.public boolean applyTilde = false; -
truncatePDF417
public boolean truncatePDF417Truncates a PDF417 barcode. -
UPCESystem
public int UPCESystemSystem to be used in UPCE. It can be 0 or 1. The default is "1". -
supSeparationCM
public double supSeparationCMThe distance between the end of the barcode and the beginning of the supplement for UPC/EAN symbologies. -
isDataBarSuggestedHeight
public boolean isDataBarSuggestedHeightDetermines if the databar height should be fixed to meet specification. If true, databar height will be default. -
barType
public int barTypeSpecifies the specific type of bar code to create. Default is DATABAR -
isComposite
public boolean isCompositeDetermines if this is a composite barcode. If true, there is a 2D barcode on top of the linear barcode. -
includeAIinHRText
public boolean includeAIinHRTextIf true, a leading (01) is inserted in the beginning of the human readable text of the barcode. -
includeLinkageFlaginHRText
public boolean includeLinkageFlaginHRTextPlaces the linkage flag in the human readable text. The linkage flag is the first character after (01), is either 1 or 0, and determines if there is a 2D composite code. -
leftMarginCM
public double leftMarginCMLeft margin of the barcode (also know as quiet zone). The default is .3 CM. -
topMarginCM
public double topMarginCMTop margin of the barcode in relation to the top of the painting area. The default is .3 CM -
autoSize
public boolean autoSizeDetermines if the margins around the barcode should be automatically set. Default is true. -
textMarginCM
public double textMarginCMThe amount of space in CM between the barcode and the human readable text. Default is 0.03CM -
barHeightCM
public double barHeightCMThe height of the bars in the bar code. Default is 1CM -
X_DimensionCM
public double X_DimensionCMSize of narrow bars or spaces. The resolution is used to convert to pixels. -
rotate
public int rotateThe rotation angle; Valid values are 0 (default), 90, 180 & 270. -
showText
public boolean showTextIf true, the human readable text will be displayed with the barcode; Default =true. -
showTextLocation
public int showTextLocationPosition of human readable text in relation to the barcode. The text can be above or below the barcode. Valid values are 0 for TOP and 1 for BOTTOM. -
pdf_XtoYRatio
public int pdf_XtoYRatioRatio of height to width of the blocks in a PDF417 or MicroPDF417 barcode. Default is 2- See Also:
-
PDF417Columns
public int PDF417ColumnsNumber of columns for PDF417 & Micro PDF417 barcodes. Overridden for composite barcodes. Default is 3 -
PDF417Rows
public int PDF417RowsNumber of rows for PDF417 & Micro PDF417 barcodes. Overridden for composite barcodes. Default is 3- See Also:
-
#PDF417Rows(int value)
#PDF417Rows()
- User Manual
-
barColor
The color of the bars in the barcode; Default=black. -
backColor
Background color. -
compositeData
Data that is encoded in the 2D composite portion of the barcode. Used only if IsComposite = true. -
ecLevel
public int ecLevelLevel of error correction for PDF417 (only--not MicroPDF417) barcodes.
-
-
Constructor Details
-
DataBar
public DataBar()
-
-
Method Details
-
IsDemo
public boolean IsDemo()Determines if the control is a demo or licensed version. (Read-Only) -
getPreferredSize
Initial preferred width and height property of the bean- Overrides:
getPreferredSize
in classComponent
-
setCode128Set
Sets the Code128Set property.- Parameters:
newSet
- the new value for the Code128Set variable.- See Also:
-
getCode128Set
Gets the Code128Set property.- Returns:
- the current value of the Code128Set variable.
- See Also:
-
setPixelsPerCM
public void setPixelsPerCM(int newRes) Sets the resolution property.- Parameters:
newRes
- the new value for the resolution variable.- See Also:
-
getPixelsPerCM
public int getPixelsPerCM()Gets the resolution property.- Returns:
- the current value of the resolution variable.
- See Also:
-
setFont
Sets the textFont property. -
getFont
Gets the textFont property.- Specified by:
getFont
in interfaceMenuContainer
- Overrides:
getFont
in classComponent
- Returns:
- the current value of the textFont variable.
- See Also:
-
setTextFontColor
Sets the fontColor property.- Parameters:
newColor
- the new value for the fontColor variable.- See Also:
-
getTextFontColor
Gets the fontColor property.- Returns:
- the current value of the fontColor variable.
- See Also:
-
setDataToEncode
Sets the code property.- Parameters:
newCode
- the new value for the code variable.- See Also:
-
getDataToEncode
Gets the code property.- Returns:
- the current value of the code variable.
- See Also:
-
setExpandedStackedSegments
public void setExpandedStackedSegments(int value) Sets the expandedStackedSegments property.- Parameters:
value
- the new value for the expandedStackedSegments variable.- See Also:
-
getExpandedStackedSegments
public int getExpandedStackedSegments()Gets the expandedStackedSegments property.- Returns:
- the current value of the expandedStackedSegments variable.
- See Also:
-
setCharacterGrouping
public void setCharacterGrouping(int value) Sets the spliceText property.- Parameters:
value
- the new value for the spliceText variable.- See Also:
-
getCharacterGrouping
public int getCharacterGrouping()Gets the spliceText property.- Returns:
- the current value of the spliceText variable.
- See Also:
-
setPDFMode
public void setPDFMode(int value) Sets the compactionMode property.- Parameters:
value
- the new value for the compactionMode variable.- See Also:
-
getPDFMode
public int getPDFMode()Gets the compactionMode property.- Returns:
- the current value of the compactionMode variable.
- See Also:
-
setApplyTilde
public void setApplyTilde(boolean value) Sets the applyTilde property.- Parameters:
value
- the new value for the applyTilde variable.- See Also:
-
getApplyTilde
public boolean getApplyTilde()Gets the applyTilde property.- Returns:
- the current value of the applyTilde variable.
- See Also:
-
setTruncatePDF417
public void setTruncatePDF417(boolean value) Sets the truncatePDF417 property.- Parameters:
value
- the new value for the truncatePDF417 variable.- See Also:
-
getTruncatePDF417
public boolean getTruncatePDF417()Gets the truncatePDF417 property.- Returns:
- the current value of the truncatePDF417 variable.
- See Also:
-
setUPCESystem
public void setUPCESystem(int value) Sets the UPCESystem property.- Parameters:
value
- the new value for the UPCESystem variable.- See Also:
-
getUPCESystem
public int getUPCESystem()Gets the UPCESystem property.- Returns:
- the current value of the UPCESystem variable.
- See Also:
-
setSuppSeparationCM
public void setSuppSeparationCM(double value) Sets the supSeparationCM property.- Parameters:
value
- the new value for the supSeparationCM variable.- See Also:
-
getSuppSeparationCM
public double getSuppSeparationCM()Gets the supSeparationCM property.- Returns:
- the current value of the supSeparationCM variable.
- See Also:
-
setDataBarSuggestedHeight
public void setDataBarSuggestedHeight(boolean value) Sets the isDataBarSuggestedHeight property.- Parameters:
value
- the new value for the isDataBarSuggestedHeight variable.- See Also:
-
getDataBarSuggestedHeight
public boolean getDataBarSuggestedHeight()Gets the isDataBarSuggestedHeight property.- Returns:
- the current value of the isDataBarSuggestedHeight variable.
- See Also:
-
setSymbologyID
public void setSymbologyID(int value) Sets the barType property.- Parameters:
value
- the new value for the barType variable.- See Also:
-
getSymbologyID
public int getSymbologyID()Gets the barType property.- Returns:
- the current value of the barType variable.
- See Also:
-
setIsComposite
public void setIsComposite(boolean value) Sets the isComposite property.- Parameters:
value
- the new value for the isComposite variable.- See Also:
-
getIsComposite
public boolean getIsComposite()Gets the isComposite property.- Returns:
- the current value of the isComposite variable.
- See Also:
-
setIncludeAIinHRText
public void setIncludeAIinHRText(boolean value) Sets the includeAIinHRText property.- Parameters:
value
- the new value for the includeAIinHRText variable.- See Also:
-
getIncludeAIinHRText
public boolean getIncludeAIinHRText()Gets the includeAIinHRText property.- Returns:
- the current value of the includeAIinHRText variable.
- See Also:
-
setsIncludeLinkageFlaginHRText
public void setsIncludeLinkageFlaginHRText(boolean value) Sets the includeLinkageFlaginHRText property.- Parameters:
value
- the new value for the includeLinkageFlaginHRText variable.- See Also:
-
getIncludeLinkageFlaginHRText
public boolean getIncludeLinkageFlaginHRText()Gets the includeLinkageFlaginHRText property.- Returns:
- the current value of the includeLinkageFlaginHRText variable.
- See Also:
-
setLeftMarginCM
public void setLeftMarginCM(double value) Sets the leftMarginCM property.- Parameters:
value
- the new value for the leftMarginCM variable.- See Also:
-
getLeftMarginCM
public double getLeftMarginCM()Gets the leftMarginCM property.- Returns:
- the current value of the leftMarginCM variable.
- See Also:
-
setTopMarginCM
public void setTopMarginCM(double value) Sets the topMarginCM property.- Parameters:
value
- the new value for the topMarginCM variable.- See Also:
-
getTopMarginCM
public double getTopMarginCM()Gets the topMarginCM property.- Returns:
- the current value of the topMarginCM variable.
- See Also:
-
setAutoSize
public void setAutoSize(boolean value) Sets the autoSize property.- Parameters:
value
- the new value for the autoSize variable.- See Also:
-
getAutoSize
public boolean getAutoSize()Gets the autoSize property.- Returns:
- the current value of autoSize the variable.
- See Also:
-
setImageSize
public void setImageSize(int imgWidth, int imgHeight) Sets the size of the generated image, if used then autoSize is set to false. -
setTextMarginCM
public void setTextMarginCM(double value) Sets the textMarginCM property.- Parameters:
value
- the new value for the textMarginCM variable.- See Also:
-
getTextMarginCM
public double getTextMarginCM()Gets the textMarginCM property.- Returns:
- the current value of the textMarginCM variable.
- See Also:
-
setBarHeightCM
public void setBarHeightCM(float value) Sets the barHeightCM property.- Parameters:
value
- the new value for the barHeightCM variable.- See Also:
-
getBarHeightCM
public double getBarHeightCM()Gets the barHeightCM property.- Returns:
- the current value of the barHeightCM variable.
- See Also:
-
setXDimensionCM
public void setXDimensionCM(double newX) Sets the X_DimensionCM property.- Parameters:
newX
- the new value for the X_DimensionCM variable.- See Also:
-
getXDimensionCM
public double getXDimensionCM()Gets the X_DimensionCM property.- Returns:
- the current value of the X_DimensionCM variable.
- See Also:
-
setRotationAngle
public void setRotationAngle(int newRotate) Sets the rotate property.- Parameters:
newRotate
- the new value for the rotate variable.- See Also:
-
getRotationAngle
public int getRotationAngle()Gets the rotate property.- Returns:
- the current value of the rotate variable.
- See Also:
-
setShowText
public void setShowText(boolean newVal) Sets the showText property.- Parameters:
newVal
- the new value for the showText variable.- See Also:
-
getShowText
public boolean getShowText()Gets the showText property.- Returns:
- the current value of the showText variable.
- See Also:
-
setShowTextLocation
public void setShowTextLocation(int newVal) Sets the showText property.- Parameters:
newVal
- the new value for the showTextLocation variable. Valid values are 0 for TOP and 1 for BOTTOM.- See Also:
-
getShowTextLocation
public int getShowTextLocation()Gets the showText property.- Returns:
- the current value of the showTextLocation variable.
- See Also:
-
setXtoYRatio
public void setXtoYRatio(int value) Sets the pdf_XtoYRatio property.- Parameters:
value
- the new value for the pdf_XtoYRatio variable.- See Also:
-
getXtoYRatio
public int getXtoYRatio()Gets the pdf_XtoYRatio property.- Returns:
- the current value of the pdf_XtoYRatio variable.
- See Also:
-
setPDFColumns
public void setPDFColumns(int value) Sets the PDF417Columns property.- Parameters:
value
- the new value for the PDF417Columns variable.- See Also:
-
getPDFColumns
public int getPDFColumns()Gets the PDF417Columns property.- Returns:
- the current value of the PDF417Columns variable.
- See Also:
-
setPDFRows
public void setPDFRows(int value) Sets the PDF417Rows property.- Parameters:
value
- the new value for the PDF417Rows variable.- See Also:
-
getPDFRows
public int getPDFRows()Gets the PDF417Rows property.- Returns:
- the current value of the PDF417Rows variable.
- See Also:
-
setForeground
Sets the barColor property.- Overrides:
setForeground
in classComponent
- Parameters:
newColor
- the new value for the barColor variable.- See Also:
-
getForeground
Gets the barColor property.- Overrides:
getForeground
in classComponent
- Returns:
- the current value of the barColor variable.
- See Also:
-
setBackground
Sets the backColor property.- Overrides:
setBackground
in classComponent
- Parameters:
newColor
- the new value for the backColor variable.- See Also:
-
getBackground
Gets the backColor property.- Overrides:
getBackground
in classComponent
- Returns:
- the current value of the backColor variable.
- See Also:
-
setCompositeData
Sets the compositeData property.- Parameters:
value
- the new value for the compositeData variable.- See Also:
-
getCompositeData
Gets the compositeData property.- Returns:
- the current value of the compositeData variable.
- See Also:
-
setPDFErrorCorrectionLevel
public void setPDFErrorCorrectionLevel(int value) Sets the ecLevel property.- Parameters:
value
- the new value for the ecLevel variable.- See Also:
-
getPDFErrorCorrectionLevel
public int getPDFErrorCorrectionLevel()Gets the ecLevel property.- Returns:
- the current value of the ecLevel variable.
- See Also:
-
paint
paints the barcode and rotates it if necessary
-