|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.util.table.CompareItem
public class CompareItem
Name: CompareItem
Description: A class holding informations needed to sort a table by one specific column in one specific direction.
| Field Summary | |
|---|---|
static int |
ASC
Constant for ascending sort direction. |
static int |
DESC
Constant for descending sort direction. |
| Constructor Summary | |
|---|---|
CompareItem(int column,
int direction)
Constructs a CompareItem instance with specific attributes. |
|
| Method Summary | |
|---|---|
int |
getColumn()
Gets the column to sort by. |
int |
getDirection()
Gets the sort direction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ASC
public static final int DESC
| Constructor Detail |
|---|
public CompareItem(int column,
int direction)
column - The ID of the column to sort by.direction - The sort direction (ASC|DESC).| Method Detail |
|---|
public int getColumn()
public int getDirection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||