|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Canvas
com.idautomation.linear.BarCode
This is the main class that contains all linear barcode functionality. Please see our User Manual for complete details of barcode related properties.
Nested Class Summary |
Nested classes inherited from class java.awt.Canvas |
java.awt.Canvas.AccessibleAWTCanvas |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
boolean |
autoSize
If true, will automatically size the control canvas to fit the barcode at design or runtime; Default =True. |
java.awt.Color |
backColor
Background color. |
java.awt.Color |
barColor
The color of the bars in the barcode; Default=black. |
double |
barHeightCM
Bar height in CM; If 0 it will be calculated using H; Default=1. |
protected int |
barHeightPixels
|
int |
barType
This is the symbology of barcode. |
boolean |
checkCharacter
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 |
checkCharacterInText
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 int |
CODABAR
|
char |
CODABARStartChar
The start character for CODABAR; The default is A. |
char |
CODABARStopChar
The stop character for CODABAR; The default is B. |
java.lang.String |
code
The data to be encoded as a barcode. |
static int |
CODE11
|
static int |
CODE128
|
char |
Code128Set
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 int |
CODE39
|
static int |
CODE39EXT
|
static int |
CODE93
|
static int |
CODE93EXT
|
java.lang.String |
codeText
The text of the barcode after it is created. |
protected int |
currentX
The current position of the painting cursor. |
protected int |
currentXStart
|
protected int |
currentY
|
protected static int |
d
|
static int |
EAN13
|
static int |
EAN8
|
double |
fBearerBarHori
The value of the horizontal bearer bar. |
double |
fBearerBarVert
The value of the vertical bearer bar. |
java.awt.Color |
fontColor
The color of the humam readable text; Default=black. |
boolean |
guardBars
If true, (default), guardbars in EAN and UPC codes will be longer than data bars. |
double |
H
The height of bars in the barcode as a multiple of X; The default is 0.45. |
int |
height
Initial preferred height property of the bean |
protected int |
hrLeftMarginPixels
|
double |
I
The space between 2 characters in code 39; This a multiple of X; The default is 1.; |
static int |
IND25
|
static int |
INTELLIGENTMAIL
|
static int |
INTERLEAVED25
|
double |
L
The symbol length in CM. |
double |
leftMarginCM
The left margin of the barcode (also know as quiet zone); The default is .3 CM. |
protected int |
leftMarginPixels
|
static int |
MAT25
|
static int |
MSI
|
double |
N
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. |
protected double |
narrowBarCM
|
protected int |
narrowBarPixels
|
int |
pHeight
The preferred height of the barcode image in pixels after barcode is generated. |
static int |
PLANET
|
static int |
POSTNET
|
double |
postnetHeightShortBar
Height in CM of POSTNET's short bars; The default is 0.125 |
double |
postnetHeightTallBar
Height in CM of POSTNET's tall bars; The default is 0.3 |
boolean |
processTilde
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 |
pWidth
The preferred width of the barcode image in pixels after barcode is generated. |
int |
resolution
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 |
rotate
The rotation angle; Valid values are 0 (default), 90, 180 & 270. |
boolean |
showText
If true, the human readable text will be displayed with the barcode; Default =true. |
double |
supHeight
Height of the supplement; This is a multiplicator of the height of the code; The default is 0.8 (80%). |
java.lang.String |
supplement
This is the user defined 2 or 5 digit supplement for EAN or UPC codes. |
double |
supSeparationCM
The separation in CM between the barcode and the supplement |
java.awt.Font |
textFont
The font of the text in the barcode; Default = Arial. |
double |
textMarginCM
The amount of space in CM between the barcode and the human readable text. |
double |
topMarginCM
The top margin of the barcode (also know as quiet zone); The default is .2 CM |
protected int |
topMarginPixels
|
static int |
UCC128
|
static int |
UPCA
|
static int |
UPCE
|
boolean |
UPCEANSupplement2
If true, the 2 digit supplement for EAN or UPC codes is processed. |
boolean |
UPCEANSupplement5
If true, the 5 digit supplement for EAN or UPC codes is processed. |
char |
UPCESystem
The system to be used in UPCE; It can be "0", "1" or "2"(Auto); The default is "0". |
int |
ValSpliceText
The number of digits to group together in the human readable text. |
float |
WhiteBarIncrease
The percent of the XDimension to increase the white bars. |
int |
width
Initial preferred width property of the bean |
protected double |
widthBarCM
|
protected int |
widthBarPixels
|
double |
X
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 | |
BarCode()
|
Method Summary | |
protected void |
addBar(java.awt.Graphics g,
int w,
boolean black,
int bartopmargin,
boolean doPaint)
adds a bar to the bar code at the currentX position. |
protected void |
calculateSizes()
calculates L and converts size in CM to pixels |
protected void |
DemoDraw(java.awt.Graphics g,
int demoX,
int ybuf,
int DemoTextH)
|
protected void |
DrawBearerBars(java.awt.Graphics g,
int bartopmargin,
int bcwBB)
|
protected int |
findChar(java.lang.String[][] table,
java.lang.String c)
find a char in a charset table |
boolean |
getAutoSize()
Gets the autoSize property value. |
java.awt.Color |
getBackground()
Gets the backColor property. |
double |
getBarHeightCM()
Gets the barHeightCM property. |
double |
getBearerBarHorizontal()
Gets the PropBearerBarHori property. |
double |
getBearerBarVertical()
Gets the PropBearerBarVert property. |
int |
getCharacterGrouping()
Gets the ValSpliceText property. |
boolean |
getCheckCharacter()
Gets the checkCharacter property. |
boolean |
getCheckCharacterInText()
Gets the checkCharacterInText property. |
java.lang.String |
getCODABARStartChar()
Gets the CODABARStartChar property value. |
java.lang.String |
getCODABARStopChar()
Gets the CODABARStopChar property value. |
java.lang.String |
getCode128Set()
Gets the Code128Set property. |
java.lang.String |
getDataToEncode()
Gets the code property. |
java.awt.Font |
getFont()
Gets the textFont property value. |
java.awt.Color |
getForeground()
Gets the barColor property value. |
double |
getLeftMarginCM()
Gets the leftMarginCM property. |
java.awt.Dimension |
getMinimumSize()
Gets the minimum size in pixels of the barcode image generated. |
double |
getNarrowToWideRatio()
Gets the N property. |
int |
getPixelsPerCM()
Gets the resolution property. |
double |
getPostnetHeightShort()
Gets the postnetHeightShortBar property. |
double |
getPostnetHeightTall()
Gets the postnetHeightTallBar property. |
java.awt.Dimension |
getPreferredSize()
Gets the size in pixels of the Preferred barcode image generated. |
boolean |
getProcessTilde()
Gets the processTilde property. |
int |
getRotationAngle()
Gets the rotate property. |
boolean |
getShowText()
Gets the showText property value. |
java.lang.String |
getSupplementToEncode()
Gets the supplement property. |
int |
getSymbologyID()
Gets the barType property. |
java.awt.Color |
getTextFontColor()
Gets the fontColor property value. |
double |
getTextMarginCM()
Gets the textMarginCM property value |
double |
getTopMarginCM()
Gets the topMarginCM property. |
boolean |
getUPCEANSupplement2()
Gets the UPCEANSupplement2 property value. |
boolean |
getUPCEANSupplement5()
Gets the UPCEANSupplement5 property. |
java.lang.String |
getUPCESystem()
Gets the UPCESystem property value. |
float |
getWhiteBarIncrease()
Gets the WhiteBarIncrease property. |
double |
getXDimensionCM()
Gets the X property. |
protected boolean |
isDigit(char n)
|
protected static double |
mod(double a,
double b)
|
void |
paint(java.awt.Graphics g2)
paints the barcode and rotates it if necessary |
protected void |
paintBAR93(java.awt.Graphics g,
boolean doPaint)
paints a code 93 barcode |
protected void |
paintBAR93Ext(java.awt.Graphics g,
boolean doPaint)
paints a code 93 extended barcode |
protected void |
paintBasis(java.awt.Graphics g)
paints the barcode |
protected void |
paintChar(java.awt.Graphics g,
java.lang.String patternColor,
java.lang.String patternBars,
boolean doPaint)
paints a character |
protected void |
paintChar2(java.awt.Graphics g,
java.lang.String patternColor,
java.lang.String patternBars,
int bartopmargin,
boolean doPaint)
paints a character |
protected void |
paintCODABAR(java.awt.Graphics g,
boolean doPaint)
paints a CODABAR code |
protected void |
paintCODE11(java.awt.Graphics g,
boolean doPaint)
paints code 11 code |
protected void |
paintCode128(java.awt.Graphics g,
boolean doPaint)
paints a code 128 barcode from character set A, B or C and encode ASCII 0 to 31 in the barcode if it exists. |
protected void |
paintCODE39(java.awt.Graphics g,
boolean doPaint)
paints a code 39 code. |
protected void |
paintCODE39Ext(java.awt.Graphics g,
boolean doPaint)
paints a code 39 extended code |
protected void |
paintEAN13(java.awt.Graphics g,
boolean doPaint)
paints a EAN13 code. |
protected void |
paintEAN8(java.awt.Graphics g,
boolean doPaint)
paints a EAN8 code |
protected void |
paintGuardChar(java.awt.Graphics g,
java.lang.String patternColor,
java.lang.String patternBars,
int bartopMargin,
boolean doPaint)
paints a guard character |
protected void |
paintIND25(java.awt.Graphics g,
boolean doPaint)
paints an industrial 2 of 5 code. |
protected void |
paintINTELLIGENTMAIL(java.awt.Graphics g,
boolean paint)
|
protected void |
paintInterleaved25(java.awt.Graphics g,
boolean doPaint)
paints an interleaved 2 of 5 code. |
protected void |
paintMAT25(java.awt.Graphics g,
boolean doPaint)
paints a matrix 2 of 5 code |
protected void |
paintMSI(java.awt.Graphics g,
boolean doPaint)
paints a MSI code |
protected void |
paintPLANET(java.awt.Graphics g,
boolean doPaint)
paints a PLANET code. |
protected void |
paintPOSTNET(java.awt.Graphics g,
boolean doPaint)
paints a Postnet code. |
protected void |
paintPostNetChar(java.awt.Graphics g,
java.lang.String pattern)
paints a Postnet char. |
protected void |
paintSup2(java.awt.Graphics g,
java.lang.String chars,
boolean doPaint)
paints a 2 digit supplement |
protected void |
paintSup5(java.awt.Graphics g,
java.lang.String chars,
boolean doPaint)
paints a 5 digit supplement |
protected void |
paintUCC128(java.awt.Graphics g,
boolean doPaint)
paints a Code 128 Code for EAN-128 and UCC-128 specifications which is a mandatory character set C start character and the FNC1 code. |
protected void |
paintUPCA(java.awt.Graphics g,
boolean doPaint)
paints a UPCA code. |
protected void |
paintUPCE(java.awt.Graphics g,
boolean doPaint)
paints a UPCE code |
protected java.awt.Image |
rotate(java.awt.Image im,
int angle,
int maxw,
int maxh)
rotates an image |
void |
setAutoSize(boolean newVal)
Sets the autoSize property. |
void |
setBackground(java.awt.Color newColor)
Sets the backColor property. |
void |
setBarHeightCM(double newBarHeight)
Sets the barHeightCM property. |
void |
setBearerBarHorizontal(double newBearerBarHori)
Sets the fBearerBarHori property. |
void |
setBearerBarVertical(double 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(java.lang.String newSet)
Sets the CODABARStartChar property. |
void |
setCODABARStopChar(java.lang.String newSet)
Sets the CODABARStopChar property. |
void |
setCode128Set(java.lang.String newSet)
Sets the Code128Set property. |
void |
setDataToEncode(java.lang.String newCode)
Sets the code property. |
void |
setFont(java.awt.Font newFont)
Sets the textFont property. |
void |
setForeground(java.awt.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(java.lang.String newCode)
Sets the supplement property. |
void |
setSymbologyID(int newSym)
Sets the barType property. |
void |
setTextFontColor(java.awt.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(java.lang.String newSet)
Sets the UPCESystem property. |
void |
setWhiteBarIncrease(float newWhiteBarIncrease)
Sets the WhiteBarIncrease property. |
void |
setXDimensionCM(double newX)
Sets the X property. |
protected java.lang.String |
spliceText(java.lang.String TextToSplice,
int SpacingNumber)
|
protected java.lang.String |
UPCEANCheck(java.lang.String s)
Calculates the UPC/EAN check character. |
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, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, 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, getMouseWheelListeners, getName, getParent, getPeer, 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, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CODE39
public static final int CODE39EXT
public static final int INTERLEAVED25
public static final int CODE11
public static final int CODABAR
public static final int MSI
public static final int UPCA
public static final int IND25
public static final int MAT25
public static final int CODE93
public static final int EAN13
public static final int EAN8
public static final int UPCE
public static final int CODE128
public static final int CODE93EXT
public static final int POSTNET
public static final int PLANET
public static final int UCC128
public static final int INTELLIGENTMAIL
public int barType
setSymbologyID(int newSym)
,
getSymbologyID()
,
User Manualpublic java.lang.String code
setDataToEncode(String newCode)
,
getDataToEncode()
,
User Manualpublic double textMarginCM
setTextMarginCM(double newMargin)
,
getTextMarginCM()
,
User Manualpublic boolean checkCharacter
setCheckCharacter(boolean newChk)
,
getCheckCharacter()
,
User Manualpublic boolean checkCharacterInText
setCheckCharacterInText(boolean newVal)
,
getCheckCharacterInText()
,
User Manualpublic boolean processTilde
setProcessTilde(boolean pt)
,
getProcessTilde()
,
User Manualpublic double postnetHeightTallBar
setPostnetHeightTall(double newHeight)
,
getPostnetHeightTall()
,
User Manualpublic double postnetHeightShortBar
setPostnetHeightShort(double newHeight)
,
getPostnetHeightShort()
,
User Manualpublic double leftMarginCM
setLeftMarginCM(double newMargin)
,
getLeftMarginCM()
,
User Manualprotected static final int d
public double topMarginCM
setTopMarginCM(double newMargin)
,
getTopMarginCM()
,
User Manualprotected int leftMarginPixels
protected int topMarginPixels
protected int hrLeftMarginPixels
public java.lang.String supplement
setSupplementToEncode(String newCode)
,
getSupplementToEncode()
,
User Manualpublic boolean guardBars
public java.awt.Color backColor
setBackground(Color newColor)
,
getBackground()
,
User Manualpublic java.lang.String codeText
protected int narrowBarPixels
protected int widthBarPixels
protected double narrowBarCM
protected double widthBarCM
public int resolution
setPixelsPerCM(int newRes)
,
getPixelsPerCM()
,
User Manualprotected int barHeightPixels
public double barHeightCM
setBarHeightCM(double newBarHeight)
,
getBarHeightCM()
,
User Manualpublic int width
public int height
public boolean autoSize
setAutoSize(boolean newVal)
,
getAutoSize()
,
User Manualpublic int pWidth
getPreferredSize()
,
User Manualpublic int pHeight
getPreferredSize()
,
User Manualpublic boolean showText
setShowText(boolean newVal)
,
getShowText()
,
User Manualpublic java.awt.Font textFont
setFont(Font newFont)
,
getFont()
,
User Manualpublic java.awt.Color fontColor
setTextFontColor(Color newColor)
,
getTextFontColor()
,
User Manualpublic java.awt.Color barColor
setForeground(Color newColor)
,
getForeground()
,
User Manualpublic char UPCESystem
setUPCESystem(String newSet)
,
getUPCESystem()
,
User Manualpublic char CODABARStartChar
setCODABARStartChar(String newSet)
,
getCODABARStartChar()
,
User Manualpublic char CODABARStopChar
setCODABARStopChar(String newSet)
,
getCODABARStopChar()
,
User Manualpublic boolean UPCEANSupplement2
setUPCEANSupplement2(boolean newval)
,
getUPCEANSupplement2()
,
User Manualpublic boolean UPCEANSupplement5
setUPCEANSupplement5(boolean newval)
,
getUPCEANSupplement5()
,
User Manualpublic char Code128Set
setCode128Set(String newSet)
,
getCode128Set()
,
User Manualpublic double X
setXDimensionCM(double newX)
,
getXDimensionCM()
,
User Manualpublic double N
setNarrowToWideRatio(double newN)
,
getNarrowToWideRatio()
,
User Manualpublic double I
public double H
public double L
public int rotate
setRotationAngle(int newRotate)
,
getRotationAngle()
,
User Manualpublic double supSeparationCM
public double supHeight
protected int currentX
protected int currentY
protected int currentXStart
public float WhiteBarIncrease
setWhiteBarIncrease(float newWhiteBarIncrease)
,
getWhiteBarIncrease()
,
User Manualpublic int ValSpliceText
setCharacterGrouping(int newValSpliceText)
,
getCharacterGrouping()
,
User Manualpublic double fBearerBarVert
setBearerBarVertical(double newBearerBarVert)
,
getBearerBarVertical()
,
User Manualpublic double fBearerBarHori
setBearerBarHorizontal(double newBearerBarHori)
,
getBearerBarHorizontal()
,
User ManualConstructor Detail |
public BarCode()
Method Detail |
public void setSymbologyID(int newSym)
newSym
- the new value for the barType variable.barType
,
User Manualpublic int getSymbologyID()
barType
,
User Manualpublic void setDataToEncode(java.lang.String newCode)
newCode
- the new value for the newCodecode variable.code
,
User Manualpublic java.lang.String getDataToEncode()
code
,
User Manualpublic void setTextMarginCM(double newMargin)
newMargin
- the new value for the textMarginCM variable.textMarginCM
,
User Manualpublic double getTextMarginCM()
textMarginCM
,
User Manualpublic void setCheckCharacter(boolean newChk)
newChk
- the new value for the checkCharacter variable.checkCharacter
,
User Manualpublic boolean getCheckCharacter()
checkCharacter
,
User Manualpublic void setCheckCharacterInText(boolean newVal)
newVal
- the new value for the checkCharacterInText variable.checkCharacterInText
,
User Manualpublic boolean getCheckCharacterInText()
checkCharacterInText
,
User Manualpublic void setProcessTilde(boolean pt)
pt
- the new value for the processTilde variable.processTilde
,
User Manualpublic boolean getProcessTilde()
processTilde
,
User Manualpublic void setPostnetHeightTall(double newHeight)
newHeight
- the new value for the postnetHeightTallBar variable.postnetHeightTallBar
,
User Manualpublic double getPostnetHeightTall()
postnetHeightTallBar
,
User Manualpublic void setPostnetHeightShort(double newHeight)
newHeight
- the new value for the postnetHeightShortBar variable.postnetHeightShortBar
,
User Manualpublic double getPostnetHeightShort()
postnetHeightShortBar
,
User Manualpublic void setLeftMarginCM(double newMargin)
newMargin
- the new value for the leftMarginCM variable.leftMarginCM
,
User Manualpublic double getLeftMarginCM()
leftMarginCM
,
User Manualpublic void setTopMarginCM(double newMargin)
newMargin
- the new value for the topMarginCM variable.topMarginCM
,
User Manualpublic double getTopMarginCM()
topMarginCM
,
User Manualpublic void setSupplementToEncode(java.lang.String newCode)
newCode
- the new value for the supplement variable.supplement
,
User Manualpublic java.lang.String getSupplementToEncode()
supplement
,
User Manualpublic void setBackground(java.awt.Color newColor)
newColor
- the new value for the backColor variable.backColor
,
User Manualpublic java.awt.Color getBackground()
backColor
,
User Manualpublic void setPixelsPerCM(int newRes)
newRes
- the new value for the resolution variable.resolution
,
User Manualpublic int getPixelsPerCM()
resolution
,
User Manualpublic void setBarHeightCM(double newBarHeight)
newBarHeight
- the new value for the barHeightCM variable.barHeightCM
,
User Manualpublic double getBarHeightCM()
barHeightCM
,
User Manualpublic void setAutoSize(boolean newVal)
newVal
- the new value for the autoSize variable.autoSize
,
User Manualpublic boolean getAutoSize()
autoSize
,
User Manualpublic void setImageSize(int imgWidth, int imgHeight)
public java.awt.Dimension getPreferredSize()
pWidth
,
pHeight
,
User Manualpublic java.awt.Dimension getMinimumSize()
public void setShowText(boolean newVal)
newVal
- the new value for the showText variable.showText
,
User Manualpublic boolean getShowText()
showText
,
User Manualpublic void setFont(java.awt.Font newFont)
newFont
- the new value for the textFont variable.textFont
,
User Manualpublic java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
textFont
,
User Manualpublic void setTextFontColor(java.awt.Color newColor)
newColor
- the new value for the fontColor variable.fontColor
,
User Manualpublic java.awt.Color getTextFontColor()
fontColor
,
User Manualpublic void setForeground(java.awt.Color newColor)
newColor
- the new value for the barColor variable.barColor
,
User Manualpublic java.awt.Color getForeground()
barColor
,
User Manualpublic void setUPCESystem(java.lang.String newSet)
newSet
- the new value for the UPCESystem variable.UPCESystem
,
User Manualpublic java.lang.String getUPCESystem()
UPCESystem
,
User Manualpublic void setCODABARStartChar(java.lang.String newSet)
newSet
- the new value for the CODABARStartChar variable.CODABARStartChar
,
User Manualpublic java.lang.String getCODABARStartChar()
CODABARStartChar
,
User Manualpublic void setCODABARStopChar(java.lang.String newSet)
newSet
- the new value for the CODABARStopChar variable.CODABARStopChar
,
User Manualpublic java.lang.String getCODABARStopChar()
CODABARStopChar
,
User Manualpublic void setUPCEANSupplement2(boolean newval)
UPCEANSupplement2
,
User Manualpublic boolean getUPCEANSupplement2()
UPCEANSupplement2
,
User Manualpublic void setUPCEANSupplement5(boolean newval)
newval
- the new value for the UPCEANSupplement5 variable.UPCEANSupplement5
,
User Manualpublic boolean getUPCEANSupplement5()
UPCEANSupplement5
,
User Manualpublic void setCode128Set(java.lang.String newSet)
newSet
- the new value for the Code128Set variable.Code128Set
,
User Manualpublic java.lang.String getCode128Set()
Code128Set
,
User Manualpublic void setXDimensionCM(double newX)
newX
- the new value for the X variable.X
,
User Manualpublic double getXDimensionCM()
X
,
User Manualpublic void setNarrowToWideRatio(double newN)
newN
- the new value for the N variable.N
,
User Manualpublic double getNarrowToWideRatio()
N
,
User Manualpublic void setRotationAngle(int newRotate)
newRotate
- the new value for the rotate variable.rotate
,
User Manualpublic int getRotationAngle()
rotate
,
User Manualpublic void setWhiteBarIncrease(float newWhiteBarIncrease)
newWhiteBarIncrease
- the new value for the WhiteBarIncrease variable.WhiteBarIncrease
,
User Manualpublic float getWhiteBarIncrease()
WhiteBarIncrease
,
User Manualpublic void setCharacterGrouping(int newValSpliceText)
newValSpliceText
- the new value for the variable.ValSpliceText
,
User Manualpublic int getCharacterGrouping()
ValSpliceText
,
User Manualpublic void setBearerBarVertical(double newBearerBarVert)
newBearerBarVert
- the new value for the fBearerBarVert variable.fBearerBarVert
,
User Manualpublic double getBearerBarVertical()
fBearerBarVert
,
User Manualpublic void setBearerBarHorizontal(double newBearerBarHori)
newBearerBarHori
- the new value for the fBearerBarHori variable.fBearerBarHori
,
User Manualpublic double getBearerBarHorizontal()
fBearerBarHori
,
User Manualprotected void addBar(java.awt.Graphics g, int w, boolean black, int bartopmargin, boolean doPaint)
protected void paintPostNetChar(java.awt.Graphics g, java.lang.String pattern)
protected void paintPOSTNET(java.awt.Graphics g, boolean doPaint)
protected int findChar(java.lang.String[][] table, java.lang.String c)
protected void paintPLANET(java.awt.Graphics g, boolean doPaint)
protected void paintInterleaved25(java.awt.Graphics g, boolean doPaint)
protected void paintIND25(java.awt.Graphics g, boolean doPaint)
protected java.lang.String UPCEANCheck(java.lang.String s)
protected void paintUPCA(java.awt.Graphics g, boolean doPaint)
protected void paintEAN13(java.awt.Graphics g, boolean doPaint)
protected boolean isDigit(char n)
protected void paintCode128(java.awt.Graphics g, boolean doPaint)
protected void paintUCC128(java.awt.Graphics g, boolean doPaint)
protected void paintEAN8(java.awt.Graphics g, boolean doPaint)
protected void paintUPCE(java.awt.Graphics g, boolean doPaint)
protected void paintSup2(java.awt.Graphics g, java.lang.String chars, boolean doPaint)
protected void paintSup5(java.awt.Graphics g, java.lang.String chars, boolean doPaint)
protected void paintMAT25(java.awt.Graphics g, boolean doPaint)
protected void paintCODE39(java.awt.Graphics g, boolean doPaint)
protected void paintCODE11(java.awt.Graphics g, boolean doPaint)
protected void paintCODABAR(java.awt.Graphics g, boolean doPaint)
protected void paintMSI(java.awt.Graphics g, boolean doPaint)
protected static double mod(double a, double b)
protected void paintCODE39Ext(java.awt.Graphics g, boolean doPaint)
protected void paintBAR93(java.awt.Graphics g, boolean doPaint)
protected void paintBAR93Ext(java.awt.Graphics g, boolean doPaint)
protected void paintChar(java.awt.Graphics g, java.lang.String patternColor, java.lang.String patternBars, boolean doPaint)
protected void paintChar2(java.awt.Graphics g, java.lang.String patternColor, java.lang.String patternBars, int bartopmargin, boolean doPaint)
protected void paintGuardChar(java.awt.Graphics g, java.lang.String patternColor, java.lang.String patternBars, int bartopMargin, boolean doPaint)
protected void calculateSizes()
public void paint(java.awt.Graphics g2)
protected void paintBasis(java.awt.Graphics g)
protected java.awt.Image rotate(java.awt.Image im, int angle, int maxw, int maxh)
protected java.lang.String spliceText(java.lang.String TextToSplice, int SpacingNumber)
protected void DrawBearerBars(java.awt.Graphics g, int bartopmargin, int bcwBB)
protected void DemoDraw(java.awt.Graphics g, int demoX, int ybuf, int DemoTextH)
protected void paintINTELLIGENTMAIL(java.awt.Graphics g, boolean paint)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |