| |
|
| java.lang.Object com.sun.data.provider.SortCriteria com.sun.rave.web.ui.faces.ValueBindingSortCriteria
ValueBindingSortCriteria | public class ValueBindingSortCriteria extends SortCriteria (Code) | | The ValueBindingSortCriteria class is an implementation of SortCriteria
that simply retrieves the sort value from the
ValueBinding .
author: Joe Nuxoll |
Constructor Summary | |
public | ValueBindingSortCriteria() Constructs a ValueBindingSortCriteria with no associated
ValueBinding . | public | ValueBindingSortCriteria(ValueBinding valueBinding) Constructs a ValueBindingSortCriteria with the specified
ValueBinding . | public | ValueBindingSortCriteria(ValueBinding valueBinding, boolean ascending) Constructs a ValueBindingSortCriteria with the specified
ValueBinding and
ascending state. |
ValueBindingSortCriteria | public ValueBindingSortCriteria()(Code) | | Constructs a ValueBindingSortCriteria with no associated
ValueBinding .
|
ValueBindingSortCriteria | public ValueBindingSortCriteria(ValueBinding valueBinding)(Code) | | Constructs a ValueBindingSortCriteria with the specified
ValueBinding .
Parameters: valueBinding - The desired ValueBinding |
ValueBindingSortCriteria | public ValueBindingSortCriteria(ValueBinding valueBinding, boolean ascending)(Code) | | Constructs a ValueBindingSortCriteria with the specified
ValueBinding and
ascending state.
Parameters: valueBinding - The desired ValueBinding Parameters: ascending - The desired boolean state for the ascending property |
getCriteriaKey | public String getCriteriaKey()(Code) | | Returns the ValueBinding's value expresssion string.
|
getDisplayName | public String getDisplayName()(Code) | | If no display name is set, this returns the
ValueBinding 's
display name.
|
getRequestMapKey | public String getRequestMapKey()(Code) | | Returns the request map variable key that will be used to store the
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
String key to use for the TableRowDataProvider |
getValueBinding | public ValueBinding getValueBinding()(Code) | | Returns the ValueBinding to use for this sort criteria.
The currently set ValueBinding for this sort criteria |
setRequestMapKey | public void setRequestMapKey(String requestMapKey)(Code) | | Sets the request map variable key that will be used to store the
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
Parameters: requestMapKey - String key to use for the TableRowDataProvider |
setValueBinding | public void setValueBinding(ValueBinding valueBinding)(Code) | | Sets the ValueBinding for this sort criteria.
Parameters: valueBinding - The desired ValueBinding for this sort criteria |
|
|
|