org.krysalis.barcode4j.impl.datamatrix
Class DataMatrixSymbolInfo
java.lang.Object
org.krysalis.barcode4j.impl.datamatrix.DataMatrixSymbolInfo
public class DataMatrixSymbolInfo
- extends java.lang.Object
Symbol info table for DataMatrix.
- Version:
- $Id: DataMatrixSymbolInfo.java,v 1.5 2008/09/22 08:59:08 jmaerki Exp $
Constructor Summary |
DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions)
|
DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions,
int rsBlockData,
int rsBlockError)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROD_SYMBOLS
public static final DataMatrixSymbolInfo[] PROD_SYMBOLS
rectangular
public boolean rectangular
dataCapacity
public int dataCapacity
errorCodewords
public int errorCodewords
matrixWidth
public int matrixWidth
matrixHeight
public int matrixHeight
dataRegions
public int dataRegions
rsBlockData
public int rsBlockData
rsBlockError
public int rsBlockError
DataMatrixSymbolInfo
public DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions)
DataMatrixSymbolInfo
public DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions,
int rsBlockData,
int rsBlockError)
overrideSymbolSet
public static void overrideSymbolSet(DataMatrixSymbolInfo[] override)
- Overrides the symbol info set used by this class. Used for testing purposes.
- Parameters:
override
- the symbol info set to use
lookup
public static DataMatrixSymbolInfo lookup(int dataCodewords)
lookup
public static DataMatrixSymbolInfo lookup(int dataCodewords,
SymbolShapeHint shape)
lookup
public static DataMatrixSymbolInfo lookup(int dataCodewords,
boolean allowRectangular,
boolean fail)
lookup
public static DataMatrixSymbolInfo lookup(int dataCodewords,
SymbolShapeHint shape,
boolean fail)
lookup
public static DataMatrixSymbolInfo lookup(int dataCodewords,
SymbolShapeHint shape,
java.awt.Dimension minSize,
java.awt.Dimension maxSize,
boolean fail)
getHorzDataRegions
public int getHorzDataRegions()
getVertDataRegions
public int getVertDataRegions()
getSymbolDataWidth
public int getSymbolDataWidth()
getSymbolDataHeight
public int getSymbolDataHeight()
getSymbolWidth
public int getSymbolWidth()
getSymbolHeight
public int getSymbolHeight()
getCodewordCount
public int getCodewordCount()
getInterleavedBlockCount
public int getInterleavedBlockCount()
getDataLengthForInterleavedBlock
public int getDataLengthForInterleavedBlock(int index)
getErrorLengthForInterleavedBlock
public int getErrorLengthForInterleavedBlock(int index)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2000-2010 Jeremias Maerki. All rights reserved.