public interface MenuItemFactory
Red (cxh) |
Red (cxh) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JMenuItem |
create(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(JContextMenu menu, NamedObj target)
menu
- The context menu to add to.target
- The object that the menu item command will operate on.