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.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupLayout.Alignment[] |
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)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.