org.openide.util.actions
Interface Presenter.Popup

All Superinterfaces:
Presenter
All Known Implementing Classes:
BooleanStateAction, CallableSystemAction
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 inherited from class org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
Method Summary
 JMenuItem getPopupPresenter()
          Get a menu item that can present this action in a JPopupMenu.
 

Method Detail

getPopupPresenter

public 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

 

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