当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.1
Presenter.Popup (NetBeans Utilities API) - NetBeans API Javadoc 5.5.1
org.openide.util.actions
Interface Presenter.Popup
- All Superinterfaces:
- Presenter
- All Known Implementing Classes:
- BooleanStateAction, CallableSystemAction, CallbackSystemAction
- Enclosing interface:
- Presenter
public static interface Presenter.Popup
- extends Presenter
The presenter interface for presenting an action in a popup menu.
getPopupPresenter
JMenuItem getPopupPresenter()
- Get a menu item that can present this action in a
JPopupMenu
.
If your menu content is dynamic in nature, consider using DynamicMenuContent
- Returns:
- the representation for this action