Package nl.gx.webmanager.cms.element
Enum TableElement.Alignment
- java.lang.Object
-
- java.lang.Enum<TableElement.Alignment>
-
- nl.gx.webmanager.cms.element.TableElement.Alignment
-
- All Implemented Interfaces:
Serializable
,Comparable<TableElement.Alignment>
- Enclosing interface:
- TableElement
public static enum TableElement.Alignment extends Enum<TableElement.Alignment>
Alignment definition for the table as a whole.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHtmlRepresentation()
static TableElement.Alignment
valueOf(String name)
Returns the enum constant of this type with the specified name.static TableElement.Alignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTERED
public static final TableElement.Alignment CENTERED
-
LEFT
public static final TableElement.Alignment LEFT
-
RIGHT
public static final TableElement.Alignment RIGHT
-
CLEAR
public static final TableElement.Alignment CLEAR
-
-
Method Detail
-
values
public static TableElement.Alignment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableElement.Alignment c : TableElement.Alignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableElement.Alignment valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getHtmlRepresentation
public String getHtmlRepresentation()
-
-