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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Method Summary
 javax.swing.JMenuItem getPopupPresenter()
          Get a menu item that can present this action in a JPopupMenu.
 

Method Detail

getPopupPresenter

javax.swing.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