public static enum PrintTemplate.Layout extends java.lang.Enum<PrintTemplate.Layout>
Enum Constant and Description |
---|
A3_LANDSCAPE |
A3_PORTRAIT |
A4_LANDSCAPE |
A4_PORTRAIT |
LETTER_ANSI_A_LANDSCAPE |
LETTER_ANSI_A_PORTRAIT |
MAP_ONLY |
TABLOID_ANSI_B_LANSCAPE |
TABLOID_ANSI_B_PORTRAIT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PrintTemplate.Layout |
get(java.lang.String l) |
java.lang.String |
getValue() |
static PrintTemplate.Layout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintTemplate.Layout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintTemplate.Layout MAP_ONLY
public static final PrintTemplate.Layout A3_LANDSCAPE
public static final PrintTemplate.Layout A3_PORTRAIT
public static final PrintTemplate.Layout A4_LANDSCAPE
public static final PrintTemplate.Layout A4_PORTRAIT
public static final PrintTemplate.Layout LETTER_ANSI_A_LANDSCAPE
public static final PrintTemplate.Layout LETTER_ANSI_A_PORTRAIT
public static final PrintTemplate.Layout TABLOID_ANSI_B_LANSCAPE
public static final PrintTemplate.Layout TABLOID_ANSI_B_PORTRAIT
public static final PrintTemplate.Layout UNKNOWN
public static PrintTemplate.Layout[] values()
for (PrintTemplate.Layout c : PrintTemplate.Layout.values()) System.out.println(c);
public static PrintTemplate.Layout 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 nullpublic java.lang.String getValue()
public static PrintTemplate.Layout get(java.lang.String l)