|
|||||||||
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.aztec.Aztec
This is the main DataMatrix class that generates the DataMatrix barcode image.
Field Summary | |
boolean |
applyTilde
If true ("Y") the tilde (~) will be processed as explained in the Data Matrix user guide. |
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
Color of the modules. |
java.lang.String |
code
Data to be painted in a Aztec symbol. |
java.lang.String |
codeText
Text to display after encoding. |
int |
dotPixels
|
int |
ecl
|
int |
height
Initial preferred height property of the bean |
double |
L
Symbol lentgh in CM. |
int |
leftMargin
|
double |
leftMarginCM
Margins of the Barcode (also know as quite zone). |
java.lang.String |
msgApp
|
double |
N
|
int |
numOfSym
|
int |
pHeight
Preferred height of the image after it is generated |
int |
pWidth
Preferred width of the image after it is generated |
boolean |
readerInit
|
boolean |
reBuild
|
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
Rotation angle; valid values are 0 (default), 90, 180 & 270. |
int |
topMargin
|
double |
topMarginCM
|
int |
width
Initial preferred width property of the bean |
double |
X
The size in CM of modules, default is .06; usually adjustable in increments of .03CM because (X * resolution) is used to convert to pixels; use setPixelsPerCM to change; if X * resolution = < 1, X will be set to one pixel. |
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 | |
Aztec()
|
Method Summary | |
boolean |
getApplyTilde()
|
boolean |
getAutoSize()
If true will automatically size the control canvas to fit the barcode at design or runtime; Default =True. |
java.awt.Color |
getBackground()
|
java.lang.String |
getDataToEncode()
|
int |
getErrorCorrectionLevel()
|
java.awt.Color |
getForeground()
Gets the color of the modules. |
double |
getLeftMarginCM()
|
java.lang.String |
getMessageAppend()
|
java.awt.Dimension |
getMinimumSize()
|
int |
getNumberOfSymbols()
|
int |
getPixelsPerCM()
|
java.awt.Dimension |
getPreferredSize()
Returns the size in pixels appropriate for the generated image after it is generated. |
boolean |
getReaderInitialization()
|
int |
getRotationAngle()
|
double |
getTopMarginCM()
|
double |
getXDimensionCM()
Gets the size in CM of modules. |
void |
paint(java.awt.Graphics g2)
Paints the barcode and rotates it if necessary |
void |
setApplyTilde(boolean newVal)
If true ("Y") the tilde (~) will be processed as explained in the Data Matrix user guide. |
void |
setAutoSize(boolean newVal)
If true will automatically size the control canvas to fit the barcode at design or runtime; Default =True. |
void |
setBackground(java.awt.Color newColor)
Background color. |
void |
setDataToEncode(java.lang.String newCode)
|
void |
setErrorCorrectionLevel(int value)
|
void |
setForeground(java.awt.Color newColor)
Cets the color of the modules. |
void |
setLeftMarginCM(double newMargin)
|
void |
setMessageAppend(java.lang.String value)
|
void |
setNumberOfSymbols(int value)
|
void |
setPixelsPerCM(int newRes)
Resolution used to convert from CM to pixels; Default is 38. |
void |
setReaderInitialization(boolean value)
|
void |
setRotationAngle(int newRotate)
Rotation angle; valid values are 0 (default), 90, 180 & 270. |
void |
setTopMarginCM(double newMargin)
|
void |
setXDimensionCM(double newX)
Sets the size in CM of modules, default is .06; usually adjustable in increments of .03CM because (X * resolution) is used to convert to pixels; use setPixelsPerCM to change; if X * resolution = < 1, X will be set to one pixel. |
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, getAlignmentX, getAlignmentY, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, 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, 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, setFont, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, 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 |
Field Detail |
public int ecl
public boolean readerInit
public int numOfSym
public java.lang.String msgApp
public java.lang.String code
public double leftMarginCM
public double topMarginCM
public java.awt.Color backColor
public java.lang.String codeText
public int resolution
public double N
public double X
public int width
public int height
public int pWidth
public int pHeight
public boolean autoSize
public java.awt.Color barColor
public double L
public int rotate
public int dotPixels
public int leftMargin
public int topMargin
public boolean applyTilde
public boolean reBuild
Constructor Detail |
public Aztec()
Method Detail |
public void setDataToEncode(java.lang.String newCode)
public java.lang.String getDataToEncode()
public void setLeftMarginCM(double newMargin)
public double getLeftMarginCM()
public void setTopMarginCM(double newMargin)
public double getTopMarginCM()
public void setBackground(java.awt.Color newColor)
public java.awt.Color getBackground()
public void setPixelsPerCM(int newRes)
public int getPixelsPerCM()
public void setXDimensionCM(double newX)
public double getXDimensionCM()
public void setAutoSize(boolean newVal)
public boolean getAutoSize()
public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public void setForeground(java.awt.Color newColor)
public java.awt.Color getForeground()
public void setRotationAngle(int newRotate)
public int getRotationAngle()
public int getNumberOfSymbols()
public void setNumberOfSymbols(int value)
public int getErrorCorrectionLevel()
public void setErrorCorrectionLevel(int value)
public java.lang.String getMessageAppend()
public void setMessageAppend(java.lang.String value)
public boolean getReaderInitialization()
public void setReaderInitialization(boolean value)
public void setApplyTilde(boolean newVal)
public boolean getApplyTilde()
public void paint(java.awt.Graphics g2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |