|
Préférences
Moteurs de recherche
|
||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
javax.swing
|
|||||||||||||||||
| Constructor Summary | |
|---|---|
RowSorter.SortKey(int column,
SortOrder sortOrder)
Creates a SortKey for the specified column with
the specified sort order. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Returns true if this object equals the specified object. |
int |
getColumn()
Returns the index of the column. |
SortOrder |
getSortOrder()
Returns the sort order of the column. |
int |
hashCode()
Returns the hash code for this SortKey. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowSorter.SortKey(int column,
SortOrder sortOrder)
SortKey for the specified column with
the specified sort order.
column - index of the column, in terms of the modelsortOrder - the sorter order
IllegalArgumentException - if sortOrder is
null| Method Detail |
|---|
public final int getColumn()
public final SortOrder getSortOrder()
public int hashCode()
SortKey.
Object.equals(java.lang.Object),
Hashtablepublic boolean equals(Object o)
SortKey and
references the same column and sort order, the two objects
are equal.
o - the object to compare to
o is equal to this SortKeyObject.hashCode(),
Hashtable