public enum RectangleAlignment extends java.lang.Enum<RectangleAlignment>
Enum Constant and Description |
---|
BOTTOM |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
static RectangleAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RectangleAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RectangleAlignment BOTTOM
public static final RectangleAlignment BOTTOM_LEFT
public static final RectangleAlignment BOTTOM_RIGHT
public static final RectangleAlignment CENTER
public static final RectangleAlignment LEFT
public static final RectangleAlignment RIGHT
public static final RectangleAlignment TOP
public static final RectangleAlignment TOP_LEFT
public static final RectangleAlignment TOP_RIGHT
public static RectangleAlignment[] values()
for (RectangleAlignment c : RectangleAlignment.values()) System.out.println(c);
public static RectangleAlignment 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 nullCopyright 2020 The Apache Software Foundation or its licensors, as applicable.