public enum PageCentering extends Enum<PageCentering> implements AttributeValue
| Enum Constant and Description |
|---|
BOTH
Center horizontally and vertically
|
HORIZONTAL
Center horizontally
|
NONE
Do not center
|
VERTICAL
Center vertically
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getValue() |
static PageCentering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageCentering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageCentering BOTH
public static final PageCentering HORIZONTAL
public static final PageCentering NONE
public static final PageCentering VERTICAL
public static PageCentering[] values()
for (PageCentering c : PageCentering.values()) System.out.println(c);
public static PageCentering 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 CharSequence getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.