barcode4j 2.1.0

org.krysalis.barcode4j.impl.datamatrix
Class SymbolShapeHint

java.lang.Object
  extended by org.krysalis.barcode4j.impl.datamatrix.SymbolShapeHint

public class SymbolShapeHint
extends java.lang.Object

Enumeration for DataMatrix symbol shape hint. It can be used to force square or rectangular symbols.

Version:
$Id: SymbolShapeHint.java,v 1.2 2007/07/13 09:57:05 jmaerki Exp $

Field Summary
static SymbolShapeHint FORCE_NONE
          The human-readable part is suppressed.
static SymbolShapeHint FORCE_RECTANGLE
          The human-readable part is placed at the bottom of the barcode.
static SymbolShapeHint FORCE_SQUARE
          The human-readable part is placed at the top of the barcode.
 
Constructor Summary
protected SymbolShapeHint(java.lang.String name)
          Creates a new SymbolShapeHint instance.
 
Method Summary
static SymbolShapeHint byName(java.lang.String name)
          Returns a SymbolShapeHint instance by name.
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORCE_NONE

public static final SymbolShapeHint FORCE_NONE
The human-readable part is suppressed.


FORCE_SQUARE

public static final SymbolShapeHint FORCE_SQUARE
The human-readable part is placed at the top of the barcode.


FORCE_RECTANGLE

public static final SymbolShapeHint FORCE_RECTANGLE
The human-readable part is placed at the bottom of the barcode.

Constructor Detail

SymbolShapeHint

protected SymbolShapeHint(java.lang.String name)
Creates a new SymbolShapeHint instance.

Parameters:
name - the name for the instance
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the instance.

byName

public static SymbolShapeHint byName(java.lang.String name)
Returns a SymbolShapeHint instance by name.

Parameters:
name - the name of the instance
Returns:
the requested instance

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

barcode4j 2.1.0

Copyright © 2000-2010 Jeremias Maerki. All rights reserved.