public abstract class TableViewBase.TableSorterBase
extends ViewerSorter
| Modifier and Type | Field and Description |
|---|---|
static int |
ASCENDING
Ascending order
|
protected int |
colIndex
The number of column to sort
|
static int |
DESCENDING
Descending order
|
protected int |
order
The order ascending/descending
|
| Constructor and Description |
|---|
TableSorterBase(int colIndex,
int order)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compare(Viewer viewer,
java.lang.Object e1,
java.lang.Object e2) |
void |
setColumn(int column)
Set the column to order
|
public static final int ASCENDING
public static final int DESCENDING
protected int colIndex
protected int order