barcode4j 2.1.0

org.krysalis.barcode4j
Class BaselineAlignment

java.lang.Object
  extended by org.krysalis.barcode4j.BaselineAlignment

public class BaselineAlignment
extends java.lang.Object

Enumeration for the alignment of bars when the heights are not uniform.

Version:
$Id: BaselineAlignment.java,v 1.3 2004/10/02 14:53:22 jmaerki Exp $
Author:
Chris Dolphy

Field Summary
static BaselineAlignment ALIGN_BOTTOM
          The bars are aligned to be even along the bottom.
static BaselineAlignment ALIGN_TOP
          The bars are aligned to be even along the top.
 
Constructor Summary
protected BaselineAlignment(java.lang.String name)
          Creates a new BaselineAlignment instance.
 
Method Summary
static BaselineAlignment byName(java.lang.String name)
          Returns a BaselineAlignment instance by name.
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIGN_TOP

public static final BaselineAlignment ALIGN_TOP
The bars are aligned to be even along the top.


ALIGN_BOTTOM

public static final BaselineAlignment ALIGN_BOTTOM
The bars are aligned to be even along the bottom.

Constructor Detail

BaselineAlignment

protected BaselineAlignment(java.lang.String name)
Creates a new BaselineAlignment 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 BaselineAlignment byName(java.lang.String name)
Returns a BaselineAlignment instance by name.

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

barcode4j 2.1.0

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