Class HumanReadablePlacement

java.lang.Object
org.krysalis.barcode4j.HumanReadablePlacement

public class HumanReadablePlacement extends Object
Enumeration for placement of the human readable part of a barcode.
Version:
$Id: HumanReadablePlacement.java,v 1.3 2004-10-02 14:53:22 jmaerki Exp $
Author:
Jeremias Maerki
  • Field Details

    • HRP_NONE

      public static final HumanReadablePlacement HRP_NONE
      The human-readable part is suppressed.
    • HRP_TOP

      public static final HumanReadablePlacement HRP_TOP
      The human-readable part is placed at the top of the barcode.
    • HRP_BOTTOM

      public static final HumanReadablePlacement HRP_BOTTOM
      The human-readable part is placed at the bottom of the barcode.
  • Constructor Details

    • HumanReadablePlacement

      protected HumanReadablePlacement(String name)
      Creates a new HumanReadablePlacement instance.
      Parameters:
      name - the name for the instance
  • Method Details

    • byName

      public static HumanReadablePlacement byName(String name)
      Returns a HumanReadablePlacement instance by name.
      Parameters:
      name - the name of the instance
      Returns:
      the requested instance
    • getName

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