|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.vergil.toolbox.MenuActionFactory
A factory that adds a given action a given context menu.
| Red (johnr) |
| Red (eal) |
| Constructor Summary | |
MenuActionFactory(javax.swing.Action action)
|
|
| Method Summary | |
javax.swing.JMenuItem |
create(JContextMenu menu,
NamedObj object)
Add an item to the given context menu that will configure the parameters on the given target. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MenuActionFactory(javax.swing.Action action)
| Method Detail |
public javax.swing.JMenuItem create(JContextMenu menu,
NamedObj object)
create in interface MenuItemFactorymenu - The context menu to add to.object - The object that the menu item command will operate on.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||