public enum NamePosition extends java.lang.Enum<NamePosition>
Enum Constant and Description |
---|
BOTTOM |
BOTTOM_CENTER |
CENTER |
TOP |
TOP_CENTER |
Modifier and Type | Method and Description |
---|---|
static NamePosition |
getNamePosition(int lines) |
static NamePosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamePosition CENTER
public static final NamePosition TOP
public static final NamePosition BOTTOM
public static final NamePosition TOP_CENTER
public static final NamePosition BOTTOM_CENTER
public static NamePosition[] values()
for (NamePosition c : NamePosition.values()) System.out.println(c);
public static NamePosition 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 nullpublic static NamePosition getNamePosition(int lines)