| |
|
| java.lang.Object com.sun.data.provider.SortCriteria com.sun.data.provider.impl.FieldIdSortCriteria
FieldIdSortCriteria | public class FieldIdSortCriteria extends SortCriteria (Code) | | The FieldIdSortCriteria class is an implementation of SortCriteria that
simply retrieves the sort value from the
TableDataProvider for the
current
RowKey using the specified fieldId, which is used to
dynamically retrieve a
FieldKey .
author: Joe Nuxoll |
FieldIdSortCriteria | public FieldIdSortCriteria()(Code) | | Constructs a FieldIdSortCriteria with no associated
FieldKey .
|
FieldIdSortCriteria | public FieldIdSortCriteria(String fieldId)(Code) | | Constructs a FieldIdSortCriteria with the specified fieldId to use to
fetch a
FieldKey .
Parameters: fieldId - The desired fieldId to use to fetch a FieldKey |
FieldIdSortCriteria | public FieldIdSortCriteria(String fieldId, boolean ascending)(Code) | | Constructs a FieldIdSortCriteria with the specified fieldId and
ascending state.
Parameters: fieldId - The desired fieldId to use to retrieve a FieldKey Parameters: ascending - The desired boolean state for the ascending property |
getCriteriaKey | public String getCriteriaKey()(Code) | | Returns the fieldId.
|
getDisplayName | public String getDisplayName()(Code) | | If no display name is set, this returns the fieldId.
|
getFieldId | public String getFieldId()(Code) | | Returns the fieldId to use to retrieve a FieldKey for this sort criteria.
The currently set fieldId for this sort criteria |
setFieldId | public void setFieldId(String fieldId)(Code) | | Sets the fieldId to use to fetch a FieldKey for this sort criteria.
Parameters: fieldId - The desired fieldId for this sort criteria |
|
|
|