Package com.idautomation.linear
Class BarCode
java.lang.Object
java.awt.Component
java.awt.Canvas
com.idautomation.linear.BarCode
- All Implemented Interfaces:
ImageObserver
,MenuContainer
,Serializable
,Accessible
This is the main class that contains all linear barcode functionality. Please see our User Manual for complete details of barcode related properties.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.Component
Component.BaselineResizeBehavior
-
Field Summary
Modifier and TypeFieldDescriptionboolean
If true, will automatically size the control canvas to fit the barcode at design or runtime; Default =True.Background color.The color of the bars in the barcode; Default=black.double
Bar height in CM; If 0 it will be calculated using H; Default=1.int
This is the symbology of barcode.int
The value of the horizontal bearer bar.int
int
The value of the vertical bearer bar.int
boolean
If true, the checksum character will be calculated and appended to the code; Default =True; checksum characters cannot be displayed or disabled for Code 128 and UCC128.boolean
If true, the checksum character will be appended to the human readable text; Default =True; checksum characters cannot by displayed or disabled for Code 128 and UCC128.static final int
char
The start character for CODABAR; The default is A.char
The stop character for CODABAR; The default is B.The data to be encoded as a barcode.static final int
static final int
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).static final int
static final int
static final int
static final int
The text of the barcode after it is created.static final boolean
static final int
static final int
The color of the humam readable text; Default=black.boolean
If true, (default), guardbars in EAN and UPC codes will be longer than data bars.double
The height of bars in the barcode as a multiple of X; The default is 0.45.int
Initial preferred height property of the beandouble
The space between 2 characters in code 39; This a multiple of X; The default is 1.;static final int
static final int
static final int
double
The symbol length in CM.double
The left margin of the barcode (also know as quiet zone); The default is .3 CM.static final int
static final int
double
The wide to narrow ratio of barcode types that support this setting such as Code 39 and ITF; A value of 2 (default) means that wide bars will be 2*N in width.int
The preferred height of the barcode image in pixels after barcode is generated.static final int
static final int
double
Height in CM of POSTNET's short bars; The default is 0.125double
Height in CM of POSTNET's tall bars; The default is 0.3boolean
If true, numbers after the Tilde will be processed according to the rules in the user guide; this option is only available when the symbology is Code 128, and the character set is AUTO or 0.int
The preferred width of the barcode image in pixels after barcode is generated.int
The resolution used to create the X dimension and other measurements in pixels; Default is 38 Pixels Per CM which is about 96 DPI.int
The rotation angle; Valid values are 0 (default), 90, 180 or 270.boolean
If true, the human readable text will be displayed with the barcode; Default =true.double
Height of the supplement; This is a multiplicator of the height of the code; The default is 0.8 (80%).This is the user defined 2 or 5 digit supplement for EAN or UPC codes.double
The separation in CM between the barcode and the supplementThe font of the text in the barcode; Default = Arial.double
The amount of space in CM between the barcode and the human readable text.double
The top margin of the barcode (also know as quiet zone); The default is .2 CMstatic final int
static final int
static final int
boolean
If true, the 2 digit supplement for EAN or UPC codes is processed.boolean
If true, the 5 digit supplement for EAN or UPC codes is processed.char
The system to be used in UPCE; It can be "0", "1" or "2"(Auto); The default is "0".int
The number of digits to group together in the human readable text.float
The percent of the XDimension to increase the white bars.int
Initial preferred width property of the beandouble
The size in CM of modules (narrow bars or spaces); The resolution is used to convert to pixels.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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the autoSize property value.Gets the backColor property.double
Gets the barHeightCM property.int
Gets the PropBearerBarHori property.int
Gets the PropBearerBarVert property.int
Gets the ValSpliceText property.boolean
Gets the checkCharacter property.boolean
Gets the checkCharacterInText property.Gets the CODABARStartChar property value.Gets the CODABARStopChar property value.Gets the Code128Set property.Gets the code property.getFont()
Gets the textFont property value.Gets the barColor property value.double
Gets the leftMarginCM property.Gets the minimum size in pixels of the barcode image generated.double
Gets the N property.int
Gets the resolution property.double
Gets the postnetHeightShortBar property.double
Gets the postnetHeightTallBar property.Gets the size in pixels of the Preferred barcode image generated.boolean
Gets the processTilde property.int
Gets the rotate property.boolean
Gets the showText property value.Gets the supplement property.int
Gets the barType property.Gets the fontColor property value.double
Gets the textMarginCM property valuedouble
Gets the topMarginCM property.boolean
Gets the UPCEANSupplement2 property value.boolean
Gets the UPCEANSupplement5 property.Gets the UPCESystem property value.float
Gets the WhiteBarIncrease property.double
Gets the X property.void
paints the barcode and rotates it if necessaryvoid
setAutoSize
(boolean newVal) Sets the autoSize property.void
setBackground
(Color newColor) Sets the backColor property.void
setBarHeightCM
(double newBarHeight) Sets the barHeightCM property.void
setBearerBarHorizontal
(int newBearerBarHori) Sets the fBearerBarHori property.void
setBearerBarVertical
(int newBearerBarVert) Sets the fBearerBarVert property.void
setCharacterGrouping
(int newValSpliceText) Sets the ValSpliceText property.void
setCheckCharacter
(boolean newChk) Sets the checkCharacter property.void
setCheckCharacterInText
(boolean newVal) Sets the checkCharacterInText property.void
setCODABARStartChar
(String newSet) Sets the CODABARStartChar property.void
setCODABARStopChar
(String newSet) Sets the CODABARStopChar property.void
setCode128Set
(String newSet) Sets the Code128Set property.void
setDataToEncode
(String newCode) Sets the code 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
setLeftMarginCM
(double newMargin) Sets the leftMarginCM property.void
setNarrowToWideRatio
(double newN) Sets the N property.void
setPixelsPerCM
(int newRes) Sets the resolution property.void
setPostnetHeightShort
(double newHeight) Sets the postnetHeightShortBar property.void
setPostnetHeightTall
(double newHeight) Sets the postnetHeightTallBar property.void
setProcessTilde
(boolean pt) Sets the processTilde property.void
setRotationAngle
(int newRotate) Sets the rotate property.void
setShowText
(boolean newVal) Sets the showText property.void
setSupplementToEncode
(String newCode) Sets the supplement property.void
setSymbologyID
(int newSym) Sets the barType property.void
setTextFontColor
(Color newColor) Sets the fontColor property.void
setTextMarginCM
(double newMargin) Sets the textMarginCM property.void
setTopMarginCM
(double newMargin) Sets the topMarginCM property.void
setUPCEANSupplement2
(boolean newval) Sets the UPCEANSupplement2 property.void
setUPCEANSupplement5
(boolean newval) Sets the UPCEANSupplement5 property.void
setUPCESystem
(String newSet) Sets the UPCESystem property.void
setWhiteBarIncrease
(float newWhiteBarIncrease) Sets the WhiteBarIncrease property.void
setXDimensionCM
(double newX) Sets the X 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, 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
-
Demo_Version
public static final boolean Demo_Version- See Also:
-
CODE39
public static final int CODE39- See Also:
-
CODE39EXT
public static final int CODE39EXT- See Also:
-
INTERLEAVED25
public static final int INTERLEAVED25- See Also:
-
CODE11
public static final int CODE11- See Also:
-
CODABAR
public static final int CODABAR- See Also:
-
MSI
public static final int MSI- See Also:
-
UPCA
public static final int UPCA- See Also:
-
IND25
public static final int IND25- See Also:
-
MAT25
public static final int MAT25- See Also:
-
CODE93
public static final int CODE93- See Also:
-
EAN13
public static final int EAN13- See Also:
-
EAN8
public static final int EAN8- See Also:
-
UPCE
public static final int UPCE- See Also:
-
CODE128
public static final int CODE128- See Also:
-
CODE93EXT
public static final int CODE93EXT- See Also:
-
POSTNET
public static final int POSTNET- See Also:
-
PLANET
public static final int PLANET- See Also:
-
UCC128
public static final int UCC128- See Also:
-
INTELLIGENTMAIL
public static final int INTELLIGENTMAIL- See Also:
-
barType
public int barTypeThis is the symbology of barcode. Default = CODE128. -
code
The data to be encoded as a barcode. -
checkCharacter
public boolean checkCharacterIf true, the checksum character will be calculated and appended to the code; Default =True; checksum characters cannot be displayed or disabled for Code 128 and UCC128. -
checkCharacterInText
public boolean checkCharacterInTextIf true, the checksum character will be appended to the human readable text; Default =True; checksum characters cannot by displayed or disabled for Code 128 and UCC128. -
processTilde
public boolean processTildeIf true, numbers after the Tilde will be processed according to the rules in the user guide; this option is only available when the symbology is Code 128, and the character set is AUTO or 0. -
postnetHeightTallBar
public double postnetHeightTallBarHeight in CM of POSTNET's tall bars; The default is 0.3 -
postnetHeightShortBar
public double postnetHeightShortBarHeight in CM of POSTNET's short bars; The default is 0.125 -
resolution
public int resolutionThe resolution used to create the X dimension and other measurements in pixels; Default is 38 Pixels Per CM which is about 96 DPI. 96 DPI is the resolution of the web browser; this setting works best when using the servlet. Enter 118 to create a 300 DPI image. -
leftMarginCM
public double leftMarginCMThe left margin of the barcode (also know as quiet zone); The default is .3 CM. -
topMarginCM
public double topMarginCMThe top margin of the barcode (also know as quiet zone); The default is .2 CM -
textMarginCM
public double textMarginCMThe amount of space in CM between the barcode and the human readable text. Default is 0.3CM. -
supplement
This is the user defined 2 or 5 digit supplement for EAN or UPC codes. -
guardBars
public boolean guardBarsIf true, (default), guardbars in EAN and UPC codes will be longer than data bars. -
backColor
Background color. -
codeText
The text of the barcode after it is created. -
barHeightCM
public double barHeightCMBar height in CM; If 0 it will be calculated using H; Default=1. -
width
public int widthInitial preferred width property of the bean -
height
public int heightInitial preferred height property of the bean -
autoSize
public boolean autoSizeIf true, will automatically size the control canvas to fit the barcode at design or runtime; Default =True. -
pWidth
public int pWidthThe preferred width of the barcode image in pixels after barcode is generated.- See Also:
-
pHeight
public int pHeightThe preferred height of the barcode image in pixels after barcode is generated.- See Also:
-
showText
public boolean showTextIf true, the human readable text will be displayed with the barcode; Default =true. -
textFont
The font of the text in the barcode; Default = Arial.- See Also:
-
fontColor
The color of the humam readable text; Default=black. -
demoColor
-
barColor
The color of the bars in the barcode; Default=black. -
UPCESystem
public char UPCESystemThe system to be used in UPCE; It can be "0", "1" or "2"(Auto); The default is "0". -
CODABARStartChar
public char CODABARStartCharThe start character for CODABAR; The default is A. -
CODABARStopChar
public char CODABARStopCharThe stop character for CODABAR; The default is B. -
UPCEANSupplement2
public boolean UPCEANSupplement2If true, the 2 digit supplement for EAN or UPC codes is processed. -
UPCEANSupplement5
public boolean UPCEANSupplement5If true, the 5 digit supplement for EAN or UPC codes is processed. -
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). -
X
public double XThe size in CM of modules (narrow bars or spaces); The resolution is used to convert to pixels. -
N
public double NThe wide to narrow ratio of barcode types that support this setting such as Code 39 and ITF; A value of 2 (default) means that wide bars will be 2*N in width. -
I
public double IThe space between 2 characters in code 39; This a multiple of X; The default is 1.; -
H
public double HThe height of bars in the barcode as a multiple of X; The default is 0.45. -
L
public double LThe symbol length in CM. -
rotate
public int rotateThe rotation angle; Valid values are 0 (default), 90, 180 or 270. -
supSeparationCM
public double supSeparationCMThe separation in CM between the barcode and the supplement -
supHeight
public double supHeightHeight of the supplement; This is a multiplicator of the height of the code; The default is 0.8 (80%). -
WhiteBarIncrease
public float WhiteBarIncreaseThe percent of the XDimension to increase the white bars. -
ValSpliceText
public int ValSpliceTextThe number of digits to group together in the human readable text. Valid options are 3,4,or 5. -
BearerBarVert
public int BearerBarVertThe value of the vertical bearer bar. This value is a function of the XDimension. Valid options are 0-10.- See Also:
-
#setBearerBarVertical(double newBearerBarVert)
getBearerBarVertical()
- User Manual
-
BearerBarVertPixels
public int BearerBarVertPixels -
BearerBarHori
public int BearerBarHoriThe value of the horizontal bearer bar. This value is a function of the XDimension. Valid options are 0-10.- See Also:
-
#setBearerBarHorizontal(double newBearerBarHori)
getBearerBarHorizontal()
- User Manual
-
BearerBarHoriPixels
public int BearerBarHoriPixels
-
-
Constructor Details
-
BarCode
public BarCode()
-
-
Method Details
-
setSymbologyID
public void setSymbologyID(int newSym) Sets the barType property.- Parameters:
newSym
- 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:
-
setDataToEncode
Sets the code property.- Parameters:
newCode
- the new value for the newCodecode variable.- See Also:
-
getDataToEncode
Gets the code property.- Returns:
- the current value of the code variable.
- See Also:
-
setCheckCharacter
public void setCheckCharacter(boolean newChk) Sets the checkCharacter property.- Parameters:
newChk
- the new value for the checkCharacter variable.- See Also:
-
getCheckCharacter
public boolean getCheckCharacter()Gets the checkCharacter property.- Returns:
- the current value of the checkCharacter variable.
- See Also:
-
setCheckCharacterInText
public void setCheckCharacterInText(boolean newVal) Sets the checkCharacterInText property.- Parameters:
newVal
- the new value for the checkCharacterInText variable.- See Also:
-
getCheckCharacterInText
public boolean getCheckCharacterInText()Gets the checkCharacterInText property.- Returns:
- the current value of the checkCharacterInText variable.
- See Also:
-
setProcessTilde
public void setProcessTilde(boolean pt) Sets the processTilde property.- Parameters:
pt
- the new value for the processTilde variable.- See Also:
-
getProcessTilde
public boolean getProcessTilde()Gets the processTilde property.- Returns:
- the current string value of the processTilde variable.
- See Also:
-
setPostnetHeightTall
public void setPostnetHeightTall(double newHeight) Sets the postnetHeightTallBar property.- Parameters:
newHeight
- the new value for the postnetHeightTallBar variable.- See Also:
-
getPostnetHeightTall
public double getPostnetHeightTall()Gets the postnetHeightTallBar property.- Returns:
- the current value of the postnetHeightTallBar variable.
- See Also:
-
setPostnetHeightShort
public void setPostnetHeightShort(double newHeight) Sets the postnetHeightShortBar property.- Parameters:
newHeight
- the new value for the postnetHeightShortBar variable.- See Also:
-
getPostnetHeightShort
public double getPostnetHeightShort()Gets the postnetHeightShortBar property.- Returns:
- the current string value of the postnetHeightShortBar 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 string value of the resolution variable.
- See Also:
-
setLeftMarginCM
public void setLeftMarginCM(double newMargin) Sets the leftMarginCM property.- Parameters:
newMargin
- the new value for the leftMarginCM variable.- See Also:
-
getLeftMarginCM
public double getLeftMarginCM()Gets the leftMarginCM property.- Returns:
- the current string value of the leftMarginCM variable.
- See Also:
-
setTopMarginCM
public void setTopMarginCM(double newMargin) Sets the topMarginCM property.- Parameters:
newMargin
- the new value for the topMarginCM variable.- See Also:
-
getTopMarginCM
public double getTopMarginCM()Gets the topMarginCM property.- Returns:
- the current string value of the topMarginCM variable.
- See Also:
-
setTextMarginCM
public void setTextMarginCM(double newMargin) Sets the textMarginCM property.- Parameters:
newMargin
- the new value for the textMarginCM variable.- See Also:
-
getTextMarginCM
public double getTextMarginCM()Gets the textMarginCM property value- Returns:
- the current value for the textMarginCM variable.
- See Also:
-
setSupplementToEncode
Sets the supplement property.- Parameters:
newCode
- the new value for the supplement variable.- See Also:
-
getSupplementToEncode
Gets the supplement property.- Returns:
- the current string value of the supplement 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:
-
setBarHeightCM
public void setBarHeightCM(double newBarHeight) Sets the barHeightCM property.- Parameters:
newBarHeight
- 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:
-
setAutoSize
public void setAutoSize(boolean newVal) Sets the autoSize property.- Parameters:
newVal
- the new value for the autoSize variable.- See Also:
-
getAutoSize
public boolean getAutoSize()Gets the autoSize property value.- Returns:
- the current value of the autoSize 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.- See Also:
-
getPreferredSize
Gets the size in pixels of the Preferred barcode image generated.- Overrides:
getPreferredSize
in classComponent
- Returns:
- Dimension(pWidth,pHeight)
- See Also:
-
getMinimumSize
Gets the minimum size in pixels of the barcode image generated.- Overrides:
getMinimumSize
in classComponent
- Returns:
- Dimension(10,10)
- 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 value.- Returns:
- the current value of the showText variable.
- See Also:
-
setFont
Sets the textFont property. -
getFont
Gets the textFont property value.- 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 value.- Returns:
- the current value of the fontColor 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 value.- Overrides:
getForeground
in classComponent
- Returns:
- the current value of the barColor variable.
- See Also:
-
setUPCESystem
Sets the UPCESystem property.- Parameters:
newSet
- the new value for the UPCESystem variable.- See Also:
-
getUPCESystem
Gets the UPCESystem property value.- Returns:
- the current value of the UPCESystem variable.
- See Also:
-
setCODABARStartChar
Sets the CODABARStartChar property.- Parameters:
newSet
- the new value for the CODABARStartChar variable.- See Also:
-
getCODABARStartChar
Gets the CODABARStartChar property value.- Returns:
- the current value of the CODABARStartChar variable.
- See Also:
-
setCODABARStopChar
Sets the CODABARStopChar property.- Parameters:
newSet
- the new value for the CODABARStopChar variable.- See Also:
-
getCODABARStopChar
Gets the CODABARStopChar property value.- Returns:
- the current value of the CODABARStopChar variable.
- See Also:
-
setUPCEANSupplement2
public void setUPCEANSupplement2(boolean newval) Sets the UPCEANSupplement2 property.- Parameters:
newVal
- the new value for the UPCEANSupplement2 variable.- See Also:
-
getUPCEANSupplement2
public boolean getUPCEANSupplement2()Gets the UPCEANSupplement2 property value.- Returns:
- the current value of the UPCEANSupplement2 variable.
- See Also:
-
setUPCEANSupplement5
public void setUPCEANSupplement5(boolean newval) Sets the UPCEANSupplement5 property.- Parameters:
newval
- the new value for the UPCEANSupplement5 variable.- See Also:
-
getUPCEANSupplement5
public boolean getUPCEANSupplement5()Gets the UPCEANSupplement5 property.- Returns:
- the current string value of the UPCEANSupplement5 variable.
- See Also:
-
setCode128Set
Sets the Code128Set property.- Parameters:
newSet
- the new value for the Code128Set variable.- See Also:
-
getCode128Set
Gets the Code128Set property.- Returns:
- the current string value of the Code128Set variable.
- See Also:
-
setXDimensionCM
public void setXDimensionCM(double newX) Sets the X property.- Parameters:
newX
- the new value for the X variable.- See Also:
-
getXDimensionCM
public double getXDimensionCM()Gets the X property.- Returns:
- the current string value of the X variable.
- See Also:
-
setNarrowToWideRatio
public void setNarrowToWideRatio(double newN) Sets the N property.- Parameters:
newN
- the new value for the N variable.- See Also:
-
getNarrowToWideRatio
public double getNarrowToWideRatio()Gets the N property.- Returns:
- the current string value of the N 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 string value of the rotate variable.
- See Also:
-
setWhiteBarIncrease
public void setWhiteBarIncrease(float newWhiteBarIncrease) Sets the WhiteBarIncrease property.- Parameters:
newWhiteBarIncrease
- the new value for the WhiteBarIncrease variable.- See Also:
-
getWhiteBarIncrease
public float getWhiteBarIncrease()Gets the WhiteBarIncrease property.- Returns:
- the current string value of the WhiteBarIncrease variable.
- See Also:
-
setCharacterGrouping
public void setCharacterGrouping(int newValSpliceText) Sets the ValSpliceText property.- Parameters:
newValSpliceText
- the new value for the variable.- See Also:
-
getCharacterGrouping
public int getCharacterGrouping()Gets the ValSpliceText property.- Returns:
- the current value of ValSpliceText the variable.
- See Also:
-
setBearerBarVertical
public void setBearerBarVertical(int newBearerBarVert) Sets the fBearerBarVert property.- Parameters:
newBearerBarVert
- the new value for the fBearerBarVert variable.- See Also:
-
#fBearerBarVert
- User Manual
-
getBearerBarVertical
public int getBearerBarVertical()Gets the PropBearerBarVert property.- Returns:
- the current value of the PropBearerBarVert variable.
- See Also:
-
#fBearerBarVert
- User Manual
-
setBearerBarHorizontal
public void setBearerBarHorizontal(int newBearerBarHori) Sets the fBearerBarHori property.- Parameters:
newBearerBarHori
- the new value for the fBearerBarHori variable.- See Also:
-
#fBearerBarHori
- User Manual
-
getBearerBarHorizontal
public int getBearerBarHorizontal()Gets the PropBearerBarHori property.- Returns:
- the current value of the PropBearerBarHori variable.
- See Also:
-
#fBearerBarHori
- User Manual
-
paint
paints the barcode and rotates it if necessary
-