public enum PageLayout extends java.lang.Enum<PageLayout>
Enum Constant and Description |
---|
ONE_PAGE
Displays one page.
|
TWO_PAGE
Displays two pages side by side.
|
TWO_PAGE_FIRST_PAGE_SINGLE
|
Modifier and Type | Method and Description |
---|---|
static PageLayout |
fromValue(int value) |
int |
getValue() |
static PageLayout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageLayout ONE_PAGE
public static final PageLayout TWO_PAGE
public static final PageLayout TWO_PAGE_FIRST_PAGE_SINGLE
public static PageLayout[] values()
for (PageLayout c : PageLayout.values()) System.out.println(c);
public static PageLayout 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 static PageLayout fromValue(int value)
public int getValue()