|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.TextAlignment
public class TextAlignment
Enumeration for horizontal alignment of the human readable part of a barcode.
Field Summary | |
---|---|
static TextAlignment |
TA_CENTER
The human-readable part is centered. |
static TextAlignment |
TA_JUSTIFY
The human-readable part is justified. |
static TextAlignment |
TA_LEFT
The human-readable part is left-aligned. |
static TextAlignment |
TA_RIGHT
The human-readable part is right-aligned. |
Constructor Summary | |
---|---|
protected |
TextAlignment(java.lang.String name)
Creates a new TextAlignment instance. |
Method Summary | |
---|---|
static TextAlignment |
byName(java.lang.String name)
Returns a TextAlignment 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 |
---|
public static final TextAlignment TA_LEFT
public static final TextAlignment TA_CENTER
public static final TextAlignment TA_RIGHT
public static final TextAlignment TA_JUSTIFY
Constructor Detail |
---|
protected TextAlignment(java.lang.String name)
name
- the name for the instanceMethod Detail |
---|
public java.lang.String getName()
public static TextAlignment byName(java.lang.String name)
name
- the name of the instance
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |