public enum DrawerLocation extends Enum<DrawerLocation>
Modifier and Type | Method and Description |
---|---|
static DrawerLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawerLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawerLocation LEFT
public static final DrawerLocation TOP
public static final DrawerLocation RIGHT
public static final DrawerLocation BOTTOM
public static DrawerLocation[] values()
for (DrawerLocation c : DrawerLocation.values()) System.out.println(c);
public static DrawerLocation 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 null