| Enum Constant and Description |
|---|
CENTER |
EAST |
NORTH |
NORTH_EAST |
NORTH_WEST |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
WEST |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGravity() |
static Gravity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gravity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gravity NORTH_WEST
public static final Gravity NORTH
public static final Gravity NORTH_EAST
public static final Gravity WEST
public static final Gravity CENTER
public static final Gravity EAST
public static final Gravity SOUTH_WEST
public static final Gravity SOUTH
public static final Gravity SOUTH_EAST
public static Gravity[] values()
for (Gravity c : Gravity.values()) System.out.println(c);
public static Gravity 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 nullpublic java.lang.String getGravity()