public interface JPopupMenuInvokerFixture
JComponents capable of invoking JPopupMenus.| Modifier and Type | Method and Description |
|---|---|
JPopupMenuFixture |
showPopupMenu()
Shows a pop-up menu using this fixture's
Component as the invoker of the pop-up menu. |
JPopupMenuFixture |
showPopupMenuAt(Point p)
Shows a pop-up menu at the given point using this fixture's
Component as the invoker of the pop-up menu. |
@Nonnull JPopupMenuFixture showPopupMenu()
Component as the invoker of the pop-up menu.IllegalStateException - if this fixture's Component is disabled.IllegalStateException - if this fixture's Component is not showing on the screen.ComponentLookupException - if a pop-up menu cannot be found.@Nonnull JPopupMenuFixture showPopupMenuAt(@Nonnull Point p)
Component as the invoker of the pop-up menu.p - the given point where to show the pop-up menu.IllegalStateException - if this fixture's Component is disabled.IllegalStateException - if this fixture's Component is not showing on the screen.ComponentLookupException - if a pop-up menu cannot be found.Copyright © 2014 AssertJ. All rights reserved.