public enum TextAnchor extends Enum<TextAnchor>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static TextAnchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAnchor START
public static final TextAnchor MIDDLE
public static final TextAnchor END
public static final TextAnchor INHERIT
public static TextAnchor[] values()
for (TextAnchor c : TextAnchor.values()) System.out.println(c);
public static TextAnchor 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 getValue()
Copyright © 2018 Xalys. All rights reserved.