Package org.opencms.workplace.list
Class CmsListOrderEnum
java.lang.Object
org.opencms.workplace.list.CmsListOrderEnum
Wrapper class for
the different types of table cell horizontal alignments.
The possibles values are:
- AscendingOrder
- DescendingOrder
- NoneOrder
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CmsListOrderEnum
Constant for ascending ordering.static final CmsListOrderEnum
Constant for descending ordering.static final CmsListOrderEnum
Constant for none ordering.static final List<CmsListOrderEnum>
List of ordering constants. -
Method Summary
-
Field Details
-
ORDER_ASCENDING
Constant for ascending ordering. -
ORDER_DESCENDING
Constant for descending ordering. -
ORDER_NONE
Constant for none ordering. -
VALUES
List of ordering constants.
-
-
Method Details
-
valueOf
public static CmsListOrderEnum valueOf(String value) throws org.opencms.main.CmsIllegalArgumentException Parses an string into an element of this enumeration.- Parameters:
value
- the align to parse- Returns:
- the enumeration element
- Throws:
org.opencms.main.CmsIllegalArgumentException
- if the given value could not be matched against aCmsListColumnAlignEnum
type.
-
getOrder
Returns the order string.- Returns:
- the order string
-
toString
-