|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISortDefinition
Describes one sort (key, direction) pair in a sort sequence. The sort key can be a single column name
or a Javascript expression.
NOTE: Presently only sorting on actual columns are supported. If the sort key is specified as an
expression, it must be in the form row.column_name, or row["column_name"]
| Field Summary | |
|---|---|
static int |
ASCII_SORT_STRENGTH
When the sort strength is set to -1, it indicate we do an ASCII sort rather than Collator sort. |
static int |
DEFAULT_SORT_STRENGTH
|
static int |
SORT_ASC
Sorts in ascending order of sort key values |
static int |
SORT_DESC
Sorts in descending order of sort key values |
| Method Summary | |
|---|---|
java.lang.String |
getColumn()
Returns the name of the column to sort on. |
IScriptExpression |
getExpression()
Returns the JavaScript expression that defines the group key. |
int |
getSortDirection()
Returns the sort direction. |
int |
getSortStrength()
Returns the Strength of sort. |
| Field Detail |
|---|
static final int ASCII_SORT_STRENGTH
static final int DEFAULT_SORT_STRENGTH
static final int SORT_ASC
static final int SORT_DESC
| Method Detail |
|---|
java.lang.String getColumn()
IScriptExpression getExpression()
int getSortDirection()
int getSortStrength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||