public static enum UIContextButton.Direction extends Enum<UIContextButton.Direction>
| Enum Constant and Description |
|---|
DOWN
Menu opens beneath the button
|
UP
Menu opens upwards from bottom of button
|
| Modifier and Type | Method and Description |
|---|---|
static UIContextButton.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UIContextButton.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIContextButton.Direction DOWN
public static final UIContextButton.Direction UP
public static UIContextButton.Direction[] values()
for (UIContextButton.Direction c : UIContextButton.Direction.values()) System.out.println(c);
public static UIContextButton.Direction 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 nullLX library by Mark C. Slee. © 2012-2020