Package org.opencms.workplace.list
Class CmsListColumnAlignEnum
java.lang.Object
org.opencms.workplace.list.CmsListColumnAlignEnum
Wrapper class for
the different types of table cell horizontal alignments.
The possibles values are:
- LeftAlign
- CenterAlign
- RightAlign
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CmsListColumnAlignEnum
Constant for center alignment .static final CmsListColumnAlignEnum
Constant for left alignment.static final CmsListColumnAlignEnum
Constant for right alignment.static final List<CmsListColumnAlignEnum>
List of mode constants. -
Method Summary
-
Field Details
-
ALIGN_CENTER
Constant for center alignment . -
ALIGN_LEFT
Constant for left alignment. -
ALIGN_RIGHT
Constant for right alignment. -
VALUES
List of mode constants.
-
-
Method Details
-
valueOf
public static CmsListColumnAlignEnum 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.
-
getAlign
Returns the align string.- Returns:
- the align string
-
toString
-