public enum CellAlign extends Enum<CellAlign> implements AttributeValue
| Enum Constant and Description |
|---|
CENTER
The text is centered
|
JUSTIFY
The text is justified
|
LEFT
The text is left aligned
|
RIGHT
The text is right aligned
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static CellAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellAlign CENTER
public static final CellAlign JUSTIFY
public static final CellAlign LEFT
public static final CellAlign RIGHT
public static CellAlign[] values()
for (CellAlign c : CellAlign.values()) System.out.println(c);
public static CellAlign valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.