public enum PageRange extends Enum<PageRange>
| Enum Constant and Description |
|---|
ALL
All pages.
|
EVEN
Only even pages.
|
ODD
Only odd pages.
|
| Modifier and Type | Method and Description |
|---|---|
static PageRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageRange ALL
public static final PageRange EVEN
public static final PageRange ODD
public static PageRange[] values()
for (PageRange c : PageRange.values()) System.out.println(c);
public static PageRange valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null