public static enum Centerizer.TYPE extends java.lang.Enum<Centerizer.TYPE>
Enum Constant and Description |
---|
BOTH |
HORIZONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
static Centerizer.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Centerizer.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Centerizer.TYPE HORIZONTAL
public static final Centerizer.TYPE VERTICAL
public static final Centerizer.TYPE BOTH
public static Centerizer.TYPE[] values()
for (Centerizer.TYPE c : Centerizer.TYPE.values()) System.out.println(c);
public static Centerizer.TYPE 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