public enum STHorizontalAnchor extends Enum<STHorizontalAnchor>
Java class for ST_HorizontalAnchor.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_HorizontalAnchor"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="margin"/> <enumeration value="page"/> <enumeration value="text"/> <enumeration value="char"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CHAR
Character
|
MARGIN
Margin
|
PAGE
Page
|
TEXT
Text
|
Modifier and Type | Method and Description |
---|---|
static STHorizontalAnchor |
fromValue(String v) |
String |
value() |
static STHorizontalAnchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STHorizontalAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STHorizontalAnchor MARGIN
public static final STHorizontalAnchor PAGE
public static final STHorizontalAnchor TEXT
public static final STHorizontalAnchor CHAR
public static STHorizontalAnchor[] values()
for (STHorizontalAnchor c : STHorizontalAnchor.values()) System.out.println(c);
public static STHorizontalAnchor 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 STHorizontalAnchor fromValue(String v)
Copyright © 2007-2019. All Rights Reserved.