public enum LayoutAlignment extends java.lang.Enum<LayoutAlignment>
| Enum Constant and Description |
|---|
Center
Center the child component.
|
Far
Align the child component to the right or bottom side.
|
Near
Align the child component to the left or top side.
|
Stretch
Stretch the child component.
|
| Modifier and Type | Method and Description |
|---|---|
static LayoutAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutAlignment Near
public static final LayoutAlignment Center
public static final LayoutAlignment Far
public static final LayoutAlignment Stretch
public static LayoutAlignment[] values()
for (LayoutAlignment c : LayoutAlignment.values()) System.out.println(c);
public static LayoutAlignment 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 null