public interface MenuItemFactory
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JMenuItem |
create(diva.gui.toolbox.JContextMenu menu,
NamedObj target)
Add an item to the given context menu that will operate on
specified target, and return the menu item.
|
javax.swing.JMenuItem create(diva.gui.toolbox.JContextMenu menu, NamedObj target)
menu - The context menu to add to.target - The object that the menu item command will operate on.