public enum AlignEnum extends Enum<AlignEnum>
Java class for alignEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="alignEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="LEFT"/> <enumeration value="CENTER"/> <enumeration value="RIGHT"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static AlignEnum |
fromValue(String v) |
String |
value() |
static AlignEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlignEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlignEnum LEFT
public static final AlignEnum CENTER
public static final AlignEnum RIGHT
public static AlignEnum[] values()
for (AlignEnum c : AlignEnum.values()) System.out.println(c);
public static AlignEnum 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 value()