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