public enum PatchFormat extends java.lang.Enum<PatchFormat>
Enum Constant and Description |
---|
A4
Generates A4 format page with PatchCodes as borders and optional QR in the center
|
A4_LANDSCAPE
Generates A4 landscape format page with PatchCodes as borders and optional QR in the center
|
PATCH_ONLY
Generates PatchCode only
|
US_LETTER
Generates US letter format page with PatchCodes as borders and optional QR in the center
|
US_LETTER_LANDSCAPE
Generates US letter landscape format page with PatchCodes as borders and optional QR in the center
|
Modifier and Type | Method and Description |
---|---|
static PatchFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatchFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchFormat PATCH_ONLY
public static final PatchFormat A4
public static final PatchFormat A4_LANDSCAPE
public static final PatchFormat US_LETTER
public static final PatchFormat US_LETTER_LANDSCAPE
public static PatchFormat[] values()
for (PatchFormat c : PatchFormat.values()) System.out.println(c);
public static PatchFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null