Package org.krysalis.barcode4j
Class HumanReadablePlacement
java.lang.Object
org.krysalis.barcode4j.HumanReadablePlacement
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final HumanReadablePlacementThe human-readable part is placed at the bottom of the barcode.static final HumanReadablePlacementThe human-readable part is suppressed.static final HumanReadablePlacementThe human-readable part is placed at the top of the barcode. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHumanReadablePlacement(String name) Creates a new HumanReadablePlacement instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic HumanReadablePlacementReturns a HumanReadablePlacement instance by name.getName()
-
Field Details
-
HRP_NONE
The human-readable part is suppressed. -
HRP_TOP
The human-readable part is placed at the top of the barcode. -
HRP_BOTTOM
The human-readable part is placed at the bottom of the barcode.
-
-
Constructor Details
-
HumanReadablePlacement
Creates a new HumanReadablePlacement instance.- Parameters:
name- the name for the instance
-
-
Method Details
-
byName
Returns a HumanReadablePlacement instance by name.- Parameters:
name- the name of the instance- Returns:
- the requested instance
-
getName
- Returns:
- the name of the instance.
-