org.primefaces.component.datatable.feature
Class SortFeature
java.lang.Object
org.primefaces.component.datatable.feature.SortFeature
- All Implemented Interfaces:
- DataTableFeature
public class SortFeature
- extends Object
- implements DataTableFeature
Method Summary |
void |
decode(javax.faces.context.FacesContext context,
DataTable table)
|
void |
encode(javax.faces.context.FacesContext context,
DataTableRenderer renderer,
DataTable table)
|
void |
multiSort(javax.faces.context.FacesContext context,
DataTable table)
|
boolean |
shouldDecode(javax.faces.context.FacesContext context,
DataTable table)
|
boolean |
shouldEncode(javax.faces.context.FacesContext context,
DataTable table)
|
void |
sort(javax.faces.context.FacesContext context,
DataTable table,
javax.el.ValueExpression sortBy,
SortOrder sortOrder,
javax.el.MethodExpression sortFunction)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortFeature
public SortFeature()
decode
public void decode(javax.faces.context.FacesContext context,
DataTable table)
- Specified by:
decode
in interface DataTableFeature
encode
public void encode(javax.faces.context.FacesContext context,
DataTableRenderer renderer,
DataTable table)
throws IOException
- Specified by:
encode
in interface DataTableFeature
- Throws:
IOException
sort
public void sort(javax.faces.context.FacesContext context,
DataTable table,
javax.el.ValueExpression sortBy,
SortOrder sortOrder,
javax.el.MethodExpression sortFunction)
multiSort
public void multiSort(javax.faces.context.FacesContext context,
DataTable table)
shouldDecode
public boolean shouldDecode(javax.faces.context.FacesContext context,
DataTable table)
- Specified by:
shouldDecode
in interface DataTableFeature
shouldEncode
public boolean shouldEncode(javax.faces.context.FacesContext context,
DataTable table)
- Specified by:
shouldEncode
in interface DataTableFeature
Copyright © 2013. All Rights Reserved.