net.sourceforge.jbarcodebean
Class BarcodeElement

java.lang.Object
  extended by net.sourceforge.jbarcodebean.BarcodeElement
All Implemented Interfaces:
java.io.Serializable

public class BarcodeElement
extends java.lang.Object
implements java.io.Serializable

Class representing a single barcode module (bar or space).

See Also:
Serialized Form

Field Summary
static int TYPE_BAR
           
static int TYPE_SPACE
           
 
Constructor Summary
BarcodeElement(int type, int width)
           
 
Method Summary
 int getType()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_BAR

public static final int TYPE_BAR
See Also:
Constant Field Values

TYPE_SPACE

public static final int TYPE_SPACE
See Also:
Constant Field Values
Constructor Detail

BarcodeElement

public BarcodeElement(int type,
                      int width)
Method Detail

getWidth

public int getWidth()

getType

public int getType()


Copyright © 2004-2009 The JBarcodeBean project. All Rights Reserved.