|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 列舉常數 | 欄位 | 方法 | 詳細資訊: 列舉常數 | 欄位 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<GroupLayout.Alignment>
javax.swing.GroupLayout.Alignment
public static enum GroupLayout.Alignment
ParallelGroup 能夠對齊其子元素的可能方式的列舉。
GroupLayout.createParallelGroup(Alignment)| 列舉常數摘要 | |
|---|---|
BASELINE
指示元素應該沿其基線對齊。 |
|
CENTER
指示元素應該在區域內居中。 |
|
LEADING
指示元素應該向原點對齊。 |
|
TRAILING
指示元素應該向區域底端對齊。 |
|
| 方法摘要 | |
|---|---|
static GroupLayout.Alignment |
valueOf(String name)
返回帶有指定名稱的該型別的列舉常數。 |
static GroupLayout.Alignment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 從類別 java.lang.Enum 繼承的方法 |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| 從類別 java.lang.Object 繼承的方法 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 列舉常數詳細資訊 |
|---|
public static final GroupLayout.Alignment LEADING
GroupLayout.createParallelGroup(Alignment)public static final GroupLayout.Alignment TRAILING
GroupLayout.createParallelGroup(Alignment)public static final GroupLayout.Alignment CENTER
GroupLayout.createParallelGroup(Alignment)public static final GroupLayout.Alignment BASELINE
GroupLayout.createParallelGroup(Alignment),
GroupLayout.createBaselineGroup(boolean,boolean)| 方法詳細資訊 |
|---|
public static final GroupLayout.Alignment[] values()
for(GroupLayout.Alignment c : GroupLayout.Alignment.values())
System.out.println(c);
public static GroupLayout.Alignment valueOf(String name)
指定要返回的列舉常數的名稱。 -
如果該列舉型別沒有帶有指定名稱的常數, - 則拋出 IllegalArgumentException
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 列舉常數 | 欄位 | 方法 | 詳細資訊: 列舉常數 | 欄位 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。