com.businessrefinery.barcode.linear
Class Linear
java.lang.Object
java.awt.Component
java.awt.Canvas
com.businessrefinery.barcode.linear.Linear
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
public class Linear
- extends java.awt.Canvas
- implements java.io.Serializable
- See Also:
- Serialized Form
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 |
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, 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, 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, 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, requestFocusInWindow, reshape, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CODE39
public static final int CODE39
- See Also:
- Constant Field Values
CODE39EXT
public static final int CODE39EXT
- See Also:
- Constant Field Values
INTERLEAVED25
public static final int INTERLEAVED25
- See Also:
- Constant Field Values
CODE11
public static final int CODE11
- See Also:
- Constant Field Values
CODABAR
public static final int CODABAR
- See Also:
- Constant Field Values
MSI
public static final int MSI
- See Also:
- Constant Field Values
UPCA
public static final int UPCA
- See Also:
- Constant Field Values
IND25
public static final int IND25
- See Also:
- Constant Field Values
MAT25
public static final int MAT25
- See Also:
- Constant Field Values
CODE93
public static final int CODE93
- See Also:
- Constant Field Values
EAN13
public static final int EAN13
- See Also:
- Constant Field Values
EAN8
public static final int EAN8
- See Also:
- Constant Field Values
UPCE
public static final int UPCE
- See Also:
- Constant Field Values
CODE128
public static final int CODE128
- See Also:
- Constant Field Values
CODE93EXT
public static final int CODE93EXT
- See Also:
- Constant Field Values
POSTNET
public static final int POSTNET
- See Also:
- Constant Field Values
PLANET
public static final int PLANET
- See Also:
- Constant Field Values
UCC128
public static final int UCC128
- See Also:
- Constant Field Values
ONECODE
public static final int ONECODE
- See Also:
- Constant Field Values
barType
public int barType
code
public java.lang.String code
textMarginCM
public double textMarginCM
checkCharacter
public boolean checkCharacter
checkCharacterInText
public boolean checkCharacterInText
processTilde
public boolean processTilde
postnetHeightTallBar
public double postnetHeightTallBar
postnetHeightShortBar
public double postnetHeightShortBar
leftMarginCM
public double leftMarginCM
topMarginCM
public double topMarginCM
supplement
public java.lang.String supplement
guardBars
public boolean guardBars
backColor
public java.awt.Color backColor
codeText
public java.lang.String codeText
resolution
public int resolution
barHeightCM
public double barHeightCM
width
public int width
height
public int height
pWidth
public int pWidth
pHeight
public int pHeight
autoSize
public boolean autoSize
showText
public boolean showText
textFont
public java.awt.Font textFont
fontColor
public java.awt.Color fontColor
barColor
public java.awt.Color barColor
UPCESytem
public char UPCESytem
CODABARStartChar
public char CODABARStartChar
CODABARStopChar
public char CODABARStopChar
UPCEANSupplement2
public boolean UPCEANSupplement2
UPCEANSupplement5
public boolean UPCEANSupplement5
Code128Set
public char Code128Set
X
public double X
N
public double N
I
public double I
H
public double H
L
public double L
rotate
public int rotate
supSeparationCM
public double supSeparationCM
supHeight
public double supHeight
WhiteBarIncrease
public float WhiteBarIncrease
fBearerBarVert
public double fBearerBarVert
fBearerBarHori
public double fBearerBarHori
Linear
public Linear()
setSymbologyID
public void setSymbologyID(int i)
getSymbologyID
public int getSymbologyID()
setDataToEncode
public void setDataToEncode(java.lang.String s)
getDataToEncode
public java.lang.String getDataToEncode()
setTextMarginCM
public void setTextMarginCM(double d1)
getTextMarginCM
public double getTextMarginCM()
setCheckCharacter
public void setCheckCharacter(boolean flag)
getCheckCharacter
public boolean getCheckCharacter()
setCheckCharacterInText
public void setCheckCharacterInText(boolean flag)
getCheckCharacterInText
public boolean getCheckCharacterInText()
getProcessTilde
public boolean getProcessTilde()
setProcessTilde
public void setProcessTilde(boolean flag)
setPostnetHeightTall
public void setPostnetHeightTall(double d1)
getPostnetHeightTall
public double getPostnetHeightTall()
setPostnetHeightShort
public void setPostnetHeightShort(double d1)
getPostnetHeightShort
public double getPostnetHeightShort()
setLeftMarginCM
public void setLeftMarginCM(double d1)
getLeftMarginCM
public double getLeftMarginCM()
setTopMarginCM
public void setTopMarginCM(double d1)
getTopMarginCM
public double getTopMarginCM()
setSupplementToEncode
public void setSupplementToEncode(java.lang.String s)
getSupplementToEncode
public java.lang.String getSupplementToEncode()
setBackground
public void setBackground(java.awt.Color color)
- Overrides:
setBackground
in class java.awt.Component
getBackground
public java.awt.Color getBackground()
- Overrides:
getBackground
in class java.awt.Component
setPixelsPerCM
public void setPixelsPerCM(int i)
getPixelsPerCM
public int getPixelsPerCM()
setBarHeightCM
public void setBarHeightCM(double d1)
getBarHeightCM
public double getBarHeightCM()
setAutoSize
public void setAutoSize(boolean flag)
getAutoSize
public boolean getAutoSize()
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Overrides:
getPreferredSize
in class java.awt.Component
getMinimumSize
public java.awt.Dimension getMinimumSize()
- Overrides:
getMinimumSize
in class java.awt.Component
setShowText
public void setShowText(boolean flag)
getShowText
public boolean getShowText()
setFont
public void setFont(java.awt.Font font)
- Overrides:
setFont
in class java.awt.Component
getFont
public java.awt.Font getFont()
- Specified by:
getFont
in interface java.awt.MenuContainer
- Overrides:
getFont
in class java.awt.Component
setTextFontColor
public void setTextFontColor(java.awt.Color color)
getTextFontColor
public java.awt.Color getTextFontColor()
setForeground
public void setForeground(java.awt.Color color)
- Overrides:
setForeground
in class java.awt.Component
getForeground
public java.awt.Color getForeground()
- Overrides:
getForeground
in class java.awt.Component
setUPCESytem
public void setUPCESytem(java.lang.String s)
getUPCESytem
public java.lang.String getUPCESytem()
setCODABARStartChar
public void setCODABARStartChar(java.lang.String s)
getCODABARStartChar
public java.lang.String getCODABARStartChar()
setCODABARStopChar
public void setCODABARStopChar(java.lang.String s)
getCODABARStopChar
public java.lang.String getCODABARStopChar()
setUPCEANSupplement2
public void setUPCEANSupplement2(boolean flag)
getUPCEANSupplement2
public boolean getUPCEANSupplement2()
setUPCEANSupplement5
public void setUPCEANSupplement5(boolean flag)
getUPCEANSupplement5
public boolean getUPCEANSupplement5()
setCode128Set
public void setCode128Set(java.lang.String s)
getCode128Set
public java.lang.String getCode128Set()
setXDimensionCM
public void setXDimensionCM(double d1)
getXDimensionCM
public double getXDimensionCM()
setNarrowToWideRatio
public void setNarrowToWideRatio(double d1)
getNarrowToWideRatio
public double getNarrowToWideRatio()
setRotationAngle
public void setRotationAngle(int i)
getRotationAngle
public int getRotationAngle()
setWhiteBarIncrease
public void setWhiteBarIncrease(float f)
getWhiteBarIncrease
public float getWhiteBarIncrease()
setCharacterGrouping
public void setCharacterGrouping(int i)
getCharacterGrouping
public int getCharacterGrouping()
setBearerBarVertical
public void setBearerBarVertical(double d1)
getBearerBarVertical
public double getBearerBarVertical()
setBearerBarHorizontal
public void setBearerBarHorizontal(double d1)
getBearerBarHorizontal
public double getBearerBarHorizontal()
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in class java.awt.Canvas