com.java4less.rbarcode
Class BarCodePDF417Bean

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

public class BarCodePDF417Bean
extends BarCode2D

See Also:
Serialized Form

Field Summary
 int PDFMode
          PDF417 mode.
 
Fields inherited from class com.java4less.rbarcode.BarCode2D
codeBinary, PDF_BINARY, PDF_NUMERIC, PDF_TEXT, PDFColumns, PDFCompact, PDFECLevel, PDFMacroAddresse, PDFMacroFileId, PDFMacroFileName, PDFMacroFileSize, PDFMacroLastSegment, PDFMacroSegment, PDFMacroSegmentCount, PDFMacroSender, PDFMacroTimeStamp, PDFMaxRows, PDFPointerNextData, PDFRows
 
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, processTilde, 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
BarCodePDF417Bean()
          Bean implementation of BarCode2D that provides getter and setter methods.
 
Method Summary
 java.awt.Color getBackColor()
          background color.
 java.awt.Color getBarColor()
          color of the bars.
 double getBarHeightCM()
          height of the bars in CM
 double getBarWith()
          wide of the bars in CM
 java.lang.String getCode()
          text to be painted as barcode.
 byte[] getCodeBinary()
          binary data to be painted as barcode.
 double getLeftMarginCM()
          left margin of the barcode (also know as quite zone).
 java.lang.String getName()
          Returns "RBarCodePDF417".
 int getPDFColumns()
          number of columns of the PDF417 code.
 int getPDFECLevel()
          PDF417 error correction level.
 java.lang.String getPDFMacroAddresse()
          (optional) Addresse for Macro PDF symbols
 long getPDFMacroFileId()
          File id for Macro PDF symbols
 java.lang.String getPDFMacroFileName()
          Filename for Macro PDF symbols
 long getPDFMacroFileSize()
          (optional) File size for Macro PDF symbols
 int getPDFMacroSegment()
          Segment index in the segment sequence (starting at 0)
 int getPDFMacroSegmentCount()
          Number of segments in Macro PDF 417 symbols
 java.lang.String getPDFMacroSender()
          (optional) Sender for Macro PDF symbols
 java.lang.String getPDFMacroTimeStamp()
          (optional) Timestamp for Macro PDF symbols
 int getPDFMaxRows()
          maximum number of rows
 java.lang.String getPDFMode()
          PDF417 mode.
 int getPDFRows()
          number of rows of the PDF417 code.
 int getResolution()
          pixels/CM.
 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 setBarHeightCM(double d)
          height of the bars in CM
 void setBarWith(double d)
          wide of the bars in CM
 void setCode(byte[] c)
          binary data to be painted as barcode.
 void setCode(java.lang.String c)
          text to be painted as barcode.
 void setLeftMarginCM(double d)
          left margin of the barcode (also know as quite zone).
 void setPDFColumns(int c)
          number of columns of the PDF417 code.
 void setPDFECLevel(int c)
          PDF417 error correction level.
 void setPDFMacroAddresse(java.lang.String i)
          (optional) Addresse for Macro PDF symbols
 void setPDFMacroFileId(long i)
          File id for Macro PDF symbols
 void setPDFMacroFileName(java.lang.String i)
          Filename for Macro PDF symbols
 void setPDFMacroFileSize(long i)
          (optional) File size for Macro PDF symbols
 void setPDFMacroSegment(int i)
          Segment index in the segment sequence (starting at 0)
 void setPDFMacroSegmentCount(int i)
          Number of segments in Macro PDF 417 symbols
 void setPDFMacroSender(java.lang.String i)
          (optional) Sender for Macro PDF symbols
 void setPDFMacroTimeStamp(java.lang.String i)
          (optional) Timestamp for Macro PDF symbols
 void setPDFMaxRows(int r)
          maximum number of rows
 void setPDFMode(java.lang.String m)
          PDF417 mode.
 void setPDFRows(int r)
          number of rows of the PDF417 code.
 void setResolution(int d)
          pixels/CM.
 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.rbarcode.BarCode2D
prepareMacroPDF, resetMacroPDF
 
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
 

Field Detail

PDFMode

public int PDFMode
PDF417 mode. Valid values are PDF_BINARY (default), PDF_TEXT (for ascii data) and PDF_NUMERIC (for numeric data).

Constructor Detail

BarCodePDF417Bean

public BarCodePDF417Bean()
Bean implementation of BarCode2D that provides getter and setter methods.

Method Detail

getPDFRows

public int getPDFRows()
number of rows of the PDF417 code. If 0 the number will be calculated automatically.


setPDFRows

public void setPDFRows(int r)
number of rows of the PDF417 code. If 0 the number will be calculated automatically.

Parameters:
r -

getPDFMaxRows

public int getPDFMaxRows()
maximum number of rows

Returns:

setPDFMaxRows

public void setPDFMaxRows(int r)
maximum number of rows

Parameters:
r -

getPDFColumns

public int getPDFColumns()
number of columns of the PDF417 code. The default is 10


setPDFColumns

public void setPDFColumns(int c)
number of columns of the PDF417 code. The default is 10

Parameters:
c -

getPDFECLevel

public int getPDFECLevel()
PDF417 error correction level. The default is 0.


setPDFECLevel

public void setPDFECLevel(int c)
PDF417 error correction level. The default is 0.

Parameters:
c -

getPDFMode

public java.lang.String getPDFMode()
PDF417 mode. Valid values are PDF_BINARY (default), PDF_TEXT (for ascii data) and PDF_NUMERIC (for numeric data).

Returns:

setPDFMode

public void setPDFMode(java.lang.String m)
PDF417 mode. Valid values are PDF_BINARY (default), PDF_TEXT (for ascii data) and PDF_NUMERIC (for numeric data).

Parameters:
m -

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 -

getCodeBinary

public byte[] getCodeBinary()
binary data to be painted as barcode.

Returns:

setCode

public void setCode(byte[] c)
binary data 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 -

getBarHeightCM

public double getBarHeightCM()
height of the bars in CM

Returns:

setBarHeightCM

public void setBarHeightCM(double d)
height of the bars in CM

Parameters:
d -

getResolution

public int getResolution()
pixels/CM. if you set it to 1 all units will be pixels since 1 CM = 1 pixel

Returns:

setResolution

public void setResolution(int d)
pixels/CM. if you set it to 1 all units will be pixels since 1 CM = 1 pixel

Parameters:
d -

getBarWith

public double getBarWith()
wide of the bars in CM

Returns:

setBarWith

public void setBarWith(double d)
wide of the bars in CM

Parameters:
d -

getBackColor

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


setBackColor

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

Parameters:
c -

getPDFMacroSegmentCount

public int getPDFMacroSegmentCount()
Number of segments in Macro PDF 417 symbols

Returns:

setPDFMacroSegmentCount

public void setPDFMacroSegmentCount(int i)
Number of segments in Macro PDF 417 symbols

Parameters:
i -

getPDFMacroSegment

public int getPDFMacroSegment()
Segment index in the segment sequence (starting at 0)

Returns:

setPDFMacroSegment

public void setPDFMacroSegment(int i)
Segment index in the segment sequence (starting at 0)

Parameters:
i -

getPDFMacroFileSize

public long getPDFMacroFileSize()
(optional) File size for Macro PDF symbols

Returns:

setPDFMacroFileSize

public void setPDFMacroFileSize(long i)
(optional) File size for Macro PDF symbols

Parameters:
i -

getPDFMacroFileName

public java.lang.String getPDFMacroFileName()
Filename for Macro PDF symbols

Returns:

setPDFMacroFileName

public void setPDFMacroFileName(java.lang.String i)
Filename for Macro PDF symbols

Parameters:
i -

getPDFMacroTimeStamp

public java.lang.String getPDFMacroTimeStamp()
(optional) Timestamp for Macro PDF symbols

Returns:

setPDFMacroTimeStamp

public void setPDFMacroTimeStamp(java.lang.String i)
(optional) Timestamp for Macro PDF symbols

Parameters:
i -

getPDFMacroSender

public java.lang.String getPDFMacroSender()
(optional) Sender for Macro PDF symbols

Returns:

setPDFMacroSender

public void setPDFMacroSender(java.lang.String i)
(optional) Sender for Macro PDF symbols

Parameters:
i -

getPDFMacroAddresse

public java.lang.String getPDFMacroAddresse()
(optional) Addresse for Macro PDF symbols

Returns:

setPDFMacroAddresse

public void setPDFMacroAddresse(java.lang.String i)
(optional) Addresse for Macro PDF symbols

Parameters:
i -

getPDFMacroFileId

public long getPDFMacroFileId()
File id for Macro PDF symbols

Returns:

setPDFMacroFileId

public void setPDFMacroFileId(long i)
File id for Macro PDF symbols

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 "RBarCodePDF417".

Overrides:
getName in class java.awt.Component