@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public enum Anchor extends 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(String v) |
String |
value() |
static Anchor |
valueOf(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(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 © 2016. All rights reserved.