public enum FontAlignment extends Enum<FontAlignment>
Enum Constant and Description |
---|
BottomCenter |
BottomLeft |
BottomRight |
Default |
MiddleCenter |
MiddleLeft |
MiddleRight |
TopCenter |
TopLeft |
TopRight |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static FontAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontAlignment Default
public static final FontAlignment TopLeft
public static final FontAlignment TopCenter
public static final FontAlignment TopRight
public static final FontAlignment MiddleLeft
public static final FontAlignment MiddleCenter
public static final FontAlignment MiddleRight
public static final FontAlignment BottomLeft
public static final FontAlignment BottomCenter
public static final FontAlignment BottomRight
public static FontAlignment[] values()
for (FontAlignment c : FontAlignment.values()) System.out.println(c);
public static FontAlignment 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 int getCode()