Package org.robolectric.shadows
Class ShadowPopupMenu
- java.lang.Object
-
- org.robolectric.shadows.ShadowPopupMenu
-
@Implements(android.widget.PopupMenu.class) public class ShadowPopupMenu extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowPopupMenu()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
show
@Implementation protected void show()
-
dismiss
@Implementation protected void dismiss()
-
setOnMenuItemClickListener
@Implementation protected void setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener listener)
-
isShowing
public boolean isShowing()
-
getLatestPopupMenu
public static PopupMenu getLatestPopupMenu()
-
setLatestPopupMenu
public static void setLatestPopupMenu(ShadowPopupMenu latestPopupMenu)
-
getOnMenuItemClickListener
public PopupMenu.OnMenuItemClickListener getOnMenuItemClickListener()
-
-