barcode4j 2.1.0

org.krysalis.barcode4j.impl
Class HeightVariableBarcodeBean

java.lang.Object
  extended by org.krysalis.barcode4j.impl.AbstractBarcodeBean
      extended by org.krysalis.barcode4j.impl.HeightVariableBarcodeBean
All Implemented Interfaces:
BarcodeGenerator
Direct Known Subclasses:
AbstractFourStateBean, POSTNETBean

public abstract class HeightVariableBarcodeBean
extends AbstractBarcodeBean

Base class for barcodes that encode information by varying the height of the bars.

Version:
$Id: HeightVariableBarcodeBean.java,v 1.2 2006/11/07 16:43:37 jmaerki Exp $
Author:
Chris Dolphy

Field Summary
 
Fields inherited from class org.krysalis.barcode4j.impl.AbstractBarcodeBean
doQuietZone, fontName, fontSize, height, moduleWidth, msgPos, pattern, quietZone, quietZoneVertical
 
Constructor Summary
HeightVariableBarcodeBean()
           
 
Method Summary
abstract  double getBarHeight(int height)
          Returns the effective height of a bar with a given logical height.
 
Methods inherited from class org.krysalis.barcode4j.impl.AbstractBarcodeBean
calcDimensions, doQuietZone, generateBarcode, getBarHeight, getBarWidth, getFontName, getFontSize, getHeight, getHumanReadableHeight, getModuleWidth, getMsgPosition, getPattern, getQuietZone, getVerticalQuietZone, hasFontDescender, hasQuietZone, setBarHeight, setFontName, setFontSize, setHeight, setModuleWidth, setMsgPosition, setPattern, setQuietZone, setVerticalQuietZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeightVariableBarcodeBean

public HeightVariableBarcodeBean()
Method Detail

getBarHeight

public abstract double getBarHeight(int height)
Returns the effective height of a bar with a given logical height.

Parameters:
height - the logical height (1=short, 2=tall)
Returns:
double

barcode4j 2.1.0

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