public enum PrintOrientation extends java.lang.Enum<PrintOrientation>
| Enum Constant and Description |
|---|
LANDSCAPE
landscape
|
PORTRAIT
portrait
|
REVERSE_LANDSCAPE
reverse Landscape
|
REVERSE_PORTRAIT
reverse Portrait
|
UNEXPECTED_VALUE
For PrintOrientation values that were not expected from the service
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
| Modifier and Type | Method and Description |
|---|---|
static PrintOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintOrientation PORTRAIT
public static final PrintOrientation LANDSCAPE
public static final PrintOrientation REVERSE_LANDSCAPE
public static final PrintOrientation REVERSE_PORTRAIT
public static final PrintOrientation UNKNOWN_FUTURE_VALUE
public static final PrintOrientation UNEXPECTED_VALUE
public static PrintOrientation[] values()
for (PrintOrientation c : PrintOrientation.values()) System.out.println(c);
public static PrintOrientation 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