Class Index | File Index

Classes


Class zwt.ui.table.RowSorter.SortKey


Extends zwt.Object.

A sort key describes the sort order for a column.

Sort keys are used in a RowSorter to sort the data values of the underlying model.


Defined in: RowSorter.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a sort key.
Field Summary
Field Attributes Field Name and Description
<static>  
zwt.ui.table.RowSorter.SortKey.ORDER_ASCENDING
Indicate an ascending sorted column
<static>  
zwt.ui.table.RowSorter.SortKey.ORDER_DESCENDING
Indicate a descending sorted column
<static>  
zwt.ui.table.RowSorter.SortKey.ORDER_UNSORTED
Indicate an unsorted column
Method Summary
Method Attributes Method Name and Description
 
Return the column index associated to the key.
 
Return the current sort order.
Class Detail
zwt.ui.table.RowSorter.SortKey(The, The)
Construct a sort key.
Author: Jeremy KUHN.
Parameters:
{Integer} The
index of the column in the underlying model.
{Integer} The
sort order (one of zwt.ui.table.RowSorter.SortKey.ORDER_UNSORTED, zwt.ui.table.RowSorter.SortKey.ORDER_ASCENDING and zwt.ui.table.RowSorter.SortKey.ORDER_DESCENDING).
Field Detail
<static> {Integer} zwt.ui.table.RowSorter.SortKey.ORDER_ASCENDING
Indicate an ascending sorted column

<static> {Integer} zwt.ui.table.RowSorter.SortKey.ORDER_DESCENDING
Indicate a descending sorted column

<static> {Integer} zwt.ui.table.RowSorter.SortKey.ORDER_UNSORTED
Indicate an unsorted column
Method Detail
{Integer} getColumnIndex()
Return the column index associated to the key.
Returns:
The column index in the underlying model

{Integer} getSortOrder()
Return the current sort order.
Returns:
The sort order

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:54 GMT+0100 (CET)