public class SortOrder
extends java.lang.Object
Currently, the sort order is defined only by the column that the table is sorted on, but this may get extended one day. Note that the sense (up or down) of the sort is selected separately than by this object.
Modifier and Type | Field and Description |
---|---|
static SortOrder |
NONE
SortOrder instance indicating the natural order of the data.
|
Constructor and Description |
---|
SortOrder(javax.swing.table.TableColumn tcol)
Constructs a new sort order based on a table column.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
javax.swing.table.TableColumn |
getColumn()
Gives the column on which this table is based.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final SortOrder NONE
public SortOrder(javax.swing.table.TableColumn tcol)
tcol
- table colunmnpublic javax.swing.table.TableColumn getColumn()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.