Package org.zkoss.pivot
Interface PivotModelExt.SortCtrl
-
- All Known Implementing Classes:
TabularPivotModel
- Enclosing interface:
- PivotModelExt
public static interface PivotModelExt.SortCtrl
The optional interface for sorting control. Implement this interface to make (by field) sorting option available in PivotFieldControl.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setFieldKeyComparator(PivotField field, Comparator<Object> comparator)
Set a comparator on a pivot field for node orderingvoid
setFieldKeyOrder(PivotField field, boolean ascending)
Set the node ordering of the field.
-
-
-
Method Detail
-
setFieldKeyOrder
void setFieldKeyOrder(PivotField field, boolean ascending)
Set the node ordering of the field.
-
setFieldKeyComparator
void setFieldKeyComparator(PivotField field, Comparator<Object> comparator)
Set a comparator on a pivot field for node ordering- Parameters:
comparator
- a comparator to sort field keys
-
-