Class TableSortComparator
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.TableSortComparator
-
public class TableSortComparator extends Object
-
-
Constructor Summary
Constructors Constructor Description TableSortComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>sort(List<org.uberfire.ext.wires.core.grids.client.model.GridRow> rows, org.uberfire.ext.wires.core.grids.client.model.GridColumn gridColumn)
-
-
-
Method Detail
-
sort
public List<Integer> sort(List<org.uberfire.ext.wires.core.grids.client.model.GridRow> rows, org.uberfire.ext.wires.core.grids.client.model.GridColumn gridColumn) throws ModelSynchronizer.VetoException
- Parameters:
rows- All the rows to sort.gridColumn- Column that we sort by.- Returns:
- New order of the rows. Each number in the list shows what row should move to that location.
- Throws:
ModelSynchronizer.VetoException
-
-