站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

Presenter.Menu (NetBeans Utilities API) - NetBeans API Javadoc 5.0.0

 

org.openide.util.actions
Interface Presenter.Menu

All Superinterfaces:
Presenter
All Known Implementing Classes:
BooleanStateAction, CallableSystemAction
Enclosing interface:
Presenter

public static interface Presenter.Menu
extends Presenter

The presenter interface for presenting an action in a menu.


Nested Class Summary
 
Nested classes inherited from class org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Method Summary
 JMenuItem getMenuPresenter()
          Get a menu item that can present this action in a JMenu.
 

Method Detail

getMenuPresenter

public 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

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.