public static enum GroupLayout.Alignment extends Enum<GroupLayout .Alignment >
ParallelGroup can align its children.
GroupLayout.createParallelGroup(Alignment)
| Enum Constant and Description |
|---|
BASELINE
Indicates the elements should be aligned along their baseline.
|
CENTER
Indicates the elements should be centered in the region.
|
LEADING
Indicates the elements should be aligned to the origin.
|
TRAILING
Indicates the elements should be aligned to the end of the region.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupLayout |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static GroupLayout |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GroupLayout.Alignment LEADING
public static final GroupLayout.Alignment TRAILING
public static final GroupLayout.Alignment CENTER
public static final GroupLayout.Alignment BASELINE
public static GroupLayout.Alignment [] values()
for (GroupLayout.Alignment c : GroupLayout.Alignment.values()) System.out.println(c);
public static GroupLayout.Alignment valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null