| Enum Constant and Description |
|---|
ALL_PAGES
All pages
|
EVEN_PAGES_ONLY
Even pages only
|
ODD_PAGES_ONLY
Odd pages only
|
| Modifier and Type | Method and Description |
|---|---|
static PageSpec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageSpec ALL_PAGES
public static final PageSpec ODD_PAGES_ONLY
public static final PageSpec EVEN_PAGES_ONLY
public static PageSpec[] values()
for (PageSpec c : PageSpec.values()) System.out.println(c);
public static PageSpec 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