to.etc.domui.component.tbl
Interface ISortHelper


public interface ISortHelper

Used to implement programmable sorting on ITableModels that are sortable.

Author:
Frits Jalvingh Created on Mar 23, 2011

Method Summary
<T extends ITableModel<?> & IProgrammableSortableModel>
void
adjustSort(T model, boolean descending)
          Configure the model passed in such a way that it sorts in some specific way.
 

Method Detail

adjustSort

<T extends ITableModel<?> & IProgrammableSortableModel> void adjustSort(T model,
                                                                       boolean descending)
Configure the model passed in such a way that it sorts in some specific way. The implementation must know the specific model type used.

Type Parameters:
T -
Parameters:
model -
descending -