public enum PagePrintOrientation extends Enum<PagePrintOrientation> implements AttributeValue
| Enum Constant and Description |
|---|
HORIZONTAL
"a page is printed in landscape orientation"
|
VERTICAL
"a page is printed in portrait orientation"
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static PagePrintOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PagePrintOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PagePrintOrientation HORIZONTAL
public static final PagePrintOrientation VERTICAL
public static PagePrintOrientation[] values()
for (PagePrintOrientation c : PagePrintOrientation.values()) System.out.println(c);
public static PagePrintOrientation 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 nullpublic String getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.