public static enum GroupLayout.Alignment extends Enum<GroupLayout.Alignment>
ParallelGroup可以对齐其孩子。 
      GroupLayout.createParallelGroup(Alignment) 
       | Enum Constant and Description | 
|---|
| BASELINE
              表示元素应沿其基线对齐。 
             | 
| CENTER
              表示元素应该在该区域居中。 
             | 
| LEADING
              表示元素应与原点对齐。 
             | 
| TRAILING
              表示元素应与区域的末尾对齐。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| static GroupLayout.Alignment | valueOf(String name)
              以指定的名称返回此类型的枚举常量。 
             | 
| static GroupLayout.Alignment[] | values()
              按照它们声明的顺序返回一个包含此枚举类型常量的数组。 
             | 
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 - 要返回的枚举常数的名称。 
           IllegalArgumentException - 如果此枚举类型没有指定名称的常量 
           NullPointerException - 如果参数为空 
            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, 2014, Oracle and/or its affiliates. All rights reserved.