public static enum PrintPage.PrintDirection extends Enum<PrintPage.PrintDirection>
Enum Constant and Description |
---|
SIDEWAYS
Direction of embosser head is opposite to direction of feeding paper
|
UPRIGHT
Direction of embosser head is equal to direction of feeding paper
|
Modifier and Type | Method and Description |
---|---|
static PrintPage.PrintDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintPage.PrintDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintPage.PrintDirection UPRIGHT
public static final PrintPage.PrintDirection SIDEWAYS
public static PrintPage.PrintDirection[] values()
for (PrintPage.PrintDirection c : PrintPage.PrintDirection.values()) System.out.println(c);
public static PrintPage.PrintDirection 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