public enum PageLayout extends java.lang.Enum<PageLayout>
Modifier and Type | Class and Description |
---|---|
static class |
PageLayout.Adapter |
Enum Constant and Description |
---|
DEFAULT |
ONECOLUMN |
SINGLEPAGE |
TWOCOLUMNLEFT |
TWOCOLUMNRIGHT |
TWOPAGELEFT |
TWOPAGERIGHT |
Modifier and Type | Method and Description |
---|---|
static PageLayout |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
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 SINGLEPAGE
public static final PageLayout ONECOLUMN
public static final PageLayout TWOCOLUMNLEFT
public static final PageLayout TWOCOLUMNRIGHT
public static final PageLayout TWOPAGELEFT
public static final PageLayout TWOPAGERIGHT
public static final PageLayout DEFAULT
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 java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<PageLayout>
public static PageLayout fromValue(java.lang.String text)