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)
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 null Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138