com.java4less.rdatamatrix
Class RDataMatrixBean

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Canvas
          extended by com.java4less.rbarcode.BarCode
              extended by com.java4less.rdatamatrix.RDataMatrix
                  extended by com.java4less.rdatamatrix.RDataMatrixBean
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class RDataMatrixBean
extends RDataMatrix

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.java4less.rdatamatrix.RDataMatrix
C104X104, C10X10, C120X120, C12X12, C12X26, C12X36, C132X132, C144X144, C14X14, C16X16, C16X36, C16X48, C18X18, C20X20, C22X22, C24X24, C26X26, C32X32, C36X36, C40X40, C44X44, C48X48, C52X52, C64X64, C72X72, C80X80, C88X88, C8X18, C8X32, C96X96, codeBinary, dotPixels, E_ASCII, E_AUTO, E_BASE256, E_C40, E_NONE, E_TEXT, encoding, margin, preferredFormat, processTilde, reBuild
 
Fields inherited from class com.java4less.rbarcode.BarCode
backColor, BAR39, BAR39EXT, barColor, barHeightCM, barType, checkCharacter, CODABAR, CODABARStartChar, CODABARStopChar, code, CODE11, CODE128, Code128Set, CODE93, CODE93EXT, codeText, DATAMATRIX, EAN128, EAN13, EAN8, fontColor, guardBars, H, I, IND25, INTERLEAVED25, L, leftMarginCM, MAT25, MSI, MSI_CHECKSUM_10, MSI_CHECKSUM_10_10, MSI_CHECKSUM_11, MSI_CHECKSUM_11_10, MSIChecksum, N, PDF417, POSTNET, postnetHeightShortBar, postnetHeightTallBar, resolution, rotate, supHeight, supplement, supSeparationCM, textFont, textOnTop, topMarginCM, UPCA, UPCE, UPCEANSupplement2, UPCEANSupplement5, UPCESytem, X
 
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
RDataMatrixBean()
          Bean implementation of RDataMatrix that provides getter and setter methods.
 
Method Summary
 java.awt.Color getBackColor()
          background color.
 java.awt.Color getBarColor()
          color of the bars.
 java.lang.String getCode()
          text to be painted as barcode.
 int getDotPixels()
          length of side of the dot in pixels
 java.lang.String getencoding()
          get encoding algorithm: ASCII, C40, TEXT, BASE256, AUTO
 double getLeftMarginCM()
          left margin of the barcode (also know as quite zone).
 int getMargin()
          margin in pixels
 java.lang.String getName()
          Returns "RDataMatrix".
 java.lang.String getpreferredFormat()
          preferred format: C10X10, C12X12 ...
 boolean getProcessTilde()
          if true (default is false) the class will process the ~ character in the input data (see help file for more information ).
 boolean getRebuild()
          rebuild barcode
 int getResolution()
          resolution used to convert from CM to pixels.
 int getRotate()
          rotation angle.
 double getTopMarginCM()
          top margin of the barcode (also know as quite zone).
 void setBackColor(java.awt.Color c)
          background color.
 void setBarColor(java.awt.Color c)
          color of the bars.
 void setCode(java.lang.String c)
          text to be painted as barcode.
 void setDotPixels(int i)
           
 void setencoding(java.lang.String e)
          encoding algorithm: ASCII, C40, TEXT, BASE256, AUTO
 void setLeftMarginCM(double d)
          left margin of the barcode (also know as quite zone).
 void setMargin(int i)
           
 void setpreferredFormat(java.lang.String e)
          preferred format: C10X10, C12X12 ...
 void setProcessTilde(boolean p)
          if true (default is false) the class will process the ~ character in the input data (see help file for more information ).
 void setRebuild(boolean p)
          rebuild barcode
 void setResolution(int i)
          resolution used to convert from CM to pixels.
 void setRotate(int i)
          rotation angle.
 void setTopMarginCM(double d)
          top margin of the barcode (also know as quite zone).
 
Methods inherited from class com.java4less.rdatamatrix.RDataMatrix
getBarcodeAsArray, getCalculatedFormat, getPaintedHeight, getPaintedWidth
 
Methods inherited from class com.java4less.rbarcode.BarCode
getAiLen, getEAN128Text, getFixedFieldLen, getPaintedArea, paint, print
 
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, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPreferredSize, 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, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, 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
 

Constructor Detail

RDataMatrixBean

public RDataMatrixBean()
Bean implementation of RDataMatrix that provides getter and setter methods.

Method Detail

getDotPixels

public int getDotPixels()
length of side of the dot in pixels


setDotPixels

public void setDotPixels(int i)

getMargin

public int getMargin()
margin in pixels

Returns:

setMargin

public void setMargin(int i)

getProcessTilde

public boolean getProcessTilde()
if true (default is false) the class will process the ~ character in the input data (see help file for more information ).

Returns:

setProcessTilde

public void setProcessTilde(boolean p)
if true (default is false) the class will process the ~ character in the input data (see help file for more information ).

Parameters:
p -

getRebuild

public boolean getRebuild()
rebuild barcode

Returns:

setRebuild

public void setRebuild(boolean p)
rebuild barcode

Parameters:
p -

getencoding

public java.lang.String getencoding()
get encoding algorithm: ASCII, C40, TEXT, BASE256, AUTO

Returns:

setencoding

public void setencoding(java.lang.String e)
encoding algorithm: ASCII, C40, TEXT, BASE256, AUTO

Parameters:
e -

getpreferredFormat

public java.lang.String getpreferredFormat()
preferred format: C10X10, C12X12 ...

Returns:

setpreferredFormat

public void setpreferredFormat(java.lang.String e)
preferred format: C10X10, C12X12 ...

Parameters:
e -

getCode

public java.lang.String getCode()
text to be painted as barcode.


setCode

public void setCode(java.lang.String c)
text to be painted as barcode.

Parameters:
c -

getLeftMarginCM

public double getLeftMarginCM()
left margin of the barcode (also know as quite zone). The default is 0.5 CM.


setLeftMarginCM

public void setLeftMarginCM(double d)
left margin of the barcode (also know as quite zone). The default is 0.5 CM.

Parameters:
d -

getTopMarginCM

public double getTopMarginCM()
top margin of the barcode (also know as quite zone). The default is 0.5 CM.


setTopMarginCM

public void setTopMarginCM(double d)
top margin of the barcode (also know as quite zone). The default is 0.5 CM.

Parameters:
d -

getBackColor

public java.awt.Color getBackColor()
background color.


setBackColor

public void setBackColor(java.awt.Color c)
background color.

Parameters:
c -

getResolution

public int getResolution()
resolution used to convert from CM to pixels. The value is pixels/CM. The default is the resolution of the screen.


setResolution

public void setResolution(int i)
resolution used to convert from CM to pixels. The value is pixels/CM. The default is the resolution of the screen.

Parameters:
i -

getBarColor

public java.awt.Color getBarColor()
color of the bars.


setBarColor

public void setBarColor(java.awt.Color c)
color of the bars.

Parameters:
c -

getRotate

public int getRotate()
rotation angle. Valid values are 0 (default),90,180 and 270.


setRotate

public void setRotate(int i)
rotation angle. Valid values are 0 (default),90,180 and 270.

Parameters:
i -

getName

public java.lang.String getName()
Returns "RDataMatrix".

Overrides:
getName in class java.awt.Component