public enum TextAnchorPosition extends Enum<TextAnchorPosition>
Enum Constant and Description |
---|
BOTTOMLEFT |
BOTTOMRIGHT |
TOPLEFT |
TOPRIGHT |
Modifier and Type | Method and Description |
---|---|
static TextAnchorPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAnchorPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAnchorPosition TOPLEFT
public static final TextAnchorPosition TOPRIGHT
public static final TextAnchorPosition BOTTOMLEFT
public static final TextAnchorPosition BOTTOMRIGHT
public static TextAnchorPosition[] values()
for (TextAnchorPosition c : TextAnchorPosition.values()) System.out.println(c);
public static TextAnchorPosition 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 nullCopyright 2014, Silanis Technology, Inc. All rights reserved.