public enum Alignment extends Enum<Alignment>
Java class for Alignment.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Alignment">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="top_left"/>
<enumeration value="top_center"/>
<enumeration value="top_right"/>
<enumeration value="center_left"/>
<enumeration value="center_center"/>
<enumeration value="center_right"/>
<enumeration value="bottom_left"/>
<enumeration value="bottom_center"/>
<enumeration value="bottom_right"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER_CENTER |
CENTER_LEFT |
CENTER_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static Alignment |
fromValue(String v) |
String |
value() |
static Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alignment TOP_LEFT
public static final Alignment TOP_CENTER
public static final Alignment TOP_RIGHT
public static final Alignment CENTER_LEFT
public static final Alignment CENTER_CENTER
public static final Alignment CENTER_RIGHT
public static final Alignment BOTTOM_LEFT
public static final Alignment BOTTOM_CENTER
public static final Alignment BOTTOM_RIGHT
public static Alignment[] values()
for (Alignment c : Alignment.values()) System.out.println(c);
public static Alignment 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()
Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.