@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
public enum Anchor
extends java.lang.Enum<Anchor>
Java class for Anchor.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Anchor">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TopLeft"/>
<enumeration value="TopCenter"/>
<enumeration value="TopRight"/>
<enumeration value="CenterLeft"/>
<enumeration value="Center"/>
<enumeration value="CenterRight"/>
<enumeration value="BottomLeft"/>
<enumeration value="BottomCenter"/>
<enumeration value="BottomRight"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
CENTER_LEFT |
CENTER_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static Anchor |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static Anchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Anchor TOP_LEFT
public static final Anchor TOP_CENTER
public static final Anchor TOP_RIGHT
public static final Anchor CENTER_LEFT
public static final Anchor CENTER
public static final Anchor CENTER_RIGHT
public static final Anchor BOTTOM_LEFT
public static final Anchor BOTTOM_CENTER
public static final Anchor BOTTOM_RIGHT
public static Anchor[] values()
for (Anchor c : Anchor.values()) System.out.println(c);
public static Anchor valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static Anchor fromValue(java.lang.String v)