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