| org.netbeans.api.visual.action.PopupMenuProvider
PopupMenuProvider | public interface PopupMenuProvider (Code) | | This interface provides a popup menu.
author: William Headrick, David Kaspar |
Method Summary | |
public JPopupMenu | getPopupMenu(Widget widget, Point localLocation) Get a JPopupMenu to display in the context of the given Widget.
This method may return null . |
getPopupMenu | public JPopupMenu getPopupMenu(Widget widget, Point localLocation)(Code) | | Get a JPopupMenu to display in the context of the given Widget.
This method may return 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.
Parameters: widget - the widget Parameters: localLocation - the local location where the popup menu was invoked; if null, then popup menu is invoked by a keyboard The JPopupMenu to display for the given Widget.May be null . |
|
|