public static enum TableCell.Align extends java.lang.Enum<TableCell.Align>
Enum Constant and Description |
---|
center
Center-align content
|
left
Left-align content (default for td elements)
|
right
Right-align content
|
Modifier and Type | Method and Description |
---|---|
static TableCell.Align |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableCell.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableCell.Align left
public static final TableCell.Align center
public static final TableCell.Align right
public static TableCell.Align[] values()
for (TableCell.Align c : TableCell.Align.values()) System.out.println(c);
public static TableCell.Align valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null