Class actuate.data.Sorter
The Sorter class is used to specify a sort column and a direction.
Member of: actuate.data.
Constructor Attributes | Constructor Name and Description |
---|---|
actuate.data.Sorter(columnName, ascending)
The Sorter class is used to specify a sort column and a direction.
|
Method Attributes | Method Name and Description |
---|---|
Returns the column name to sort on.
|
|
Returns whether the sorting condition is ascending.
|
|
setAscending(ascending)
Sets whether the sorting must be ascending.
|
|
setColumnName(columnName)
Sets the column name to sort on.
|
Class Detail
actuate.data.Sorter(columnName, ascending)
The Sorter class is used to specify a sort column and a direction.
- Parameters:
- {String} columnName
- column name on which to sort
- {boolean} ascending
- true for ascending, false for descending
Method Detail
{String} getColumnName()
Returns the column name to sort on.
- Returns:
- {String} column name to sort on
{boolean} isAscending()
Returns whether the sorting condition is ascending.
- Returns:
- {boolean} true for ascending, false for descending
setAscending(ascending)
Sets whether the sorting must be ascending.
- Parameters:
- {boolean} ascending
- true for ascending, false for descending
setColumnName(columnName)
Sets the column name to sort on.
- Parameters:
- {String} columnName
- column name to sort on