|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.RowSorter.SortKey
public static class RowSorter.SortKey
SortKey 描述特定列的排序順序。列索引是基於底層模型的,它可能不同於視圖的列索引。
| 建構子摘要 | |
|---|---|
RowSorter.SortKey(int column,
SortOrder sortOrder)
使用指定的排序順序創建指定列的 SortKey。 |
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object o)
如果此物件與指定物件相等,則返回 true。 |
int |
getColumn()
返回列的索引。 |
SortOrder |
getSortOrder()
返回列的排序順序。 |
int |
hashCode()
返回此 SortKey 的雜湊碼。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public RowSorter.SortKey(int column,
SortOrder sortOrder)
SortKey。
column - 列索引,就模型而言sortOrder - 排序順序
IllegalArgumentException - 如果 sortOrder 為 null| 方法詳細資訊 |
|---|
public final int getColumn()
public final SortOrder getSortOrder()
public int hashCode()
SortKey 的雜湊碼。
Object 中的 hashCodeObject.equals(java.lang.Object),
Hashtablepublic boolean equals(Object o)
SortKey 並且參考相同的列和排序順序,則這兩個物件相等。
Object 中的 equalso - 要比較的物件
o 等於此 SortKey,則返回 trueObject.hashCode(),
Hashtable
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。