public enum VerticalTextAlignEnum extends Enum<VerticalTextAlignEnum> implements NamedEnum
Modifier and Type | Method and Description |
---|---|
static VerticalTextAlignEnum |
getByName(String name) |
String |
getName() |
static VerticalTextAlignEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalTextAlignEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalTextAlignEnum TOP
public static final VerticalTextAlignEnum MIDDLE
public static final VerticalTextAlignEnum BOTTOM
public static final VerticalTextAlignEnum JUSTIFIED
public static VerticalTextAlignEnum[] values()
for (VerticalTextAlignEnum c : VerticalTextAlignEnum.values()) System.out.println(c);
public static VerticalTextAlignEnum 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 static VerticalTextAlignEnum getByName(String name)
Copyright © 2017. All rights reserved.