public interface PopupMenuProvider
Modifier and Type | Method and Description |
---|---|
JPopupMenu |
getPopupMenu(Widget widget,
Point localLocation)
Get a JPopupMenu to display in the context of the given Widget.
|
JPopupMenu getPopupMenu(Widget widget, Point localLocation)
null
. If that is the case,
no popup menu will be displayed if this PopupMenuAction gets
a valid popup trigger on the given Widget.
Note: Since version 2.6 the localLocation
parameter could be null.widget
- the widgetlocalLocation
- the local location where the popup menu was invoked; if null, then popup menu is invoked by a keyboardnull
.