@Implements(android.widget.PopupMenu.class) public class ShadowPopupMenu extends Object
Constructor | Description |
---|---|
ShadowPopupMenu() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
dismiss() |
|
static PopupMenu |
getLatestPopupMenu() |
|
PopupMenu.OnMenuItemClickListener |
getOnMenuItemClickListener() |
|
boolean |
isShowing() |
|
static void |
setLatestPopupMenu(ShadowPopupMenu latestPopupMenu) |
|
protected void |
setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener listener) |
|
protected void |
show() |
@Implementation protected void show()
@Implementation protected void dismiss()
@Implementation protected void setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener listener)
public boolean isShowing()
public static PopupMenu getLatestPopupMenu()
public static void setLatestPopupMenu(ShadowPopupMenu latestPopupMenu)
public PopupMenu.OnMenuItemClickListener getOnMenuItemClickListener()