public interface JPopupMenuInvokerFixture
JComponent
s capable of invoking JPopupMenu
s.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–2019 AssertJ. All rights reserved.