public static enum DrawAlignAttribute.Value extends Enum<DrawAlignAttribute.Value>
| Enum Constant and Description |
|---|
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static DrawAlignAttribute.Value |
enumValueOf(String value) |
String |
toString() |
static DrawAlignAttribute.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawAlignAttribute.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawAlignAttribute.Value BOTTOM_LEFT
public static final DrawAlignAttribute.Value BOTTOM_RIGHT
public static final DrawAlignAttribute.Value CENTER
public static final DrawAlignAttribute.Value LEFT
public static final DrawAlignAttribute.Value RIGHT
public static final DrawAlignAttribute.Value TOP
public static final DrawAlignAttribute.Value TOP_LEFT
public static final DrawAlignAttribute.Value TOP_RIGHT
public static DrawAlignAttribute.Value[] values()
for (DrawAlignAttribute.Value c : DrawAlignAttribute.Value.values()) System.out.println(c);
public static DrawAlignAttribute.Value 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 toString()
toString in class Enum<DrawAlignAttribute.Value>public static DrawAlignAttribute.Value enumValueOf(String value)
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.