public enum CellAlignment extends Enum<CellAlignment>
| Modifier and Type | Method and Description |
|---|---|
static CellAlignment |
getAlignment(String alignment) |
static CellAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellAlignment NONE
public static final CellAlignment LEFT
public static final CellAlignment CENTER
public static final CellAlignment RIGHT
public static CellAlignment[] values()
for (CellAlignment c : CellAlignment.values()) System.out.println(c);
public static CellAlignment 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 static CellAlignment getAlignment(String alignment)
Copyright © 2020. All rights reserved.