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