Package org.apache.tapestry5.grid
Interface GridSortModel
- 
public interface GridSortModel
Models the sorting applied to the aGridDataSource. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()ColumnSortgetColumnSort(String columnId)Identifies how (or if) a column is sorted.List<SortConstraint>getSortConstraints()Returns a list of sort constraints, identifying which columns are sorted, and how.voidupdateSort(String columnId)Updates the column sort. 
 - 
 
- 
- 
Method Detail
- 
getColumnSort
ColumnSort getColumnSort(String columnId)
Identifies how (or if) a column is sorted.- Parameters:
 columnId-- Returns:
 - the sort for the indicated column or 
ColumnSort.UNSORTEDif the column is not used for sorting 
 
- 
updateSort
void updateSort(String columnId)
Updates the column sort. The receiver determines how to handle the sort request.- Parameters:
 columnId- property id of column to sort on
 
- 
getSortConstraints
List<SortConstraint> getSortConstraints()
Returns a list of sort constraints, identifying which columns are sorted, and how. May return an empty list (but won't return null). 
- 
clear
void clear()
 
 - 
 
 -