public enum AlignType extends Enum<AlignType>
| Modifier and Type | Method and Description |
|---|---|
static AlignType |
getEnum(String value)
Retrieve enumerated value
|
String |
toString()
Override toString method to return property value
|
static AlignType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlignType CENTER
public static final AlignType RIGHT
public static final AlignType LEFT
public static AlignType[] values()
for (AlignType c : AlignType.values()) System.out.println(c);
public static AlignType 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 static AlignType getEnum(String value)
value - Copyright © 2021. All rights reserved.