public static enum MenuButton.PopupPosition extends Enum<MenuButton.PopupPosition>
PopupPosition representa a posição do menu popup em relação ao
botão. O botão principal possui uma imagem associada de acordo com esta
posição.| Enum Constant and Description |
|---|
BOTTOM
menu popup será exibido abaixo do botão
|
LEFT
menu popup será exibido à esquerda do botão
|
RIGHT
menu popup será exibido do lado direito do botão
|
TOP
menu popup será exibido acima do botão
|
| Modifier and Type | Method and Description |
|---|---|
static MenuButton.PopupPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuButton.PopupPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuButton.PopupPosition TOP
public static final MenuButton.PopupPosition LEFT
public static final MenuButton.PopupPosition BOTTOM
public static final MenuButton.PopupPosition RIGHT
public static MenuButton.PopupPosition[] values()
for (MenuButton.PopupPosition c : MenuButton.PopupPosition.values()) System.out.println(c);
public static MenuButton.PopupPosition 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 nullCopyright © 2016 Tecgraf/PUC-Rio. All rights reserved.