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