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