|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.swt.client.widget.table.BaseTableModel
com.sage.swt.client.widget.table.SortableTableModel
public class SortableTableModel
A base class to retrieve and store row data to be used in the table.
| Constructor Summary | |
|---|---|
SortableTableModel()
Constructor |
|
| Method Summary | |
|---|---|
void |
columnSorting(RowDataColumnDefinition colDef,
boolean isAscending,
IRowDataCallback callback)
reload table data and ordered by index |
SortSpecification |
getOrderBy()
Get the sorting expression for the table model |
protected void |
sorting(IRowDataCallback callback)
Sort the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortableTableModel()
| Method Detail |
|---|
public void columnSorting(RowDataColumnDefinition colDef,
boolean isAscending,
IRowDataCallback callback)
colDef - the column definition associated with column for sortingisAscending - the sorting ordercallback - the callback for this functionpublic SortSpecification getOrderBy()
protected void sorting(IRowDataCallback callback)
callback - the callback of the sorting action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||