public class DefaultContextMenuHandler extends java.lang.Object implements ContextMenuHandler
Constructor and Description |
---|
DefaultContextMenuHandler(javax.swing.JComponent component) |
Modifier and Type | Method and Description |
---|---|
void |
showContextMenu(ContextMenuParams params)
Invoked when context menu should be displayed.
显示上下文菜单时调用。 |
public DefaultContextMenuHandler(javax.swing.JComponent component)
public void showContextMenu(ContextMenuParams params)
ContextMenuHandler
showContextMenu
in interface
ContextMenuHandler
params
- different useful information about context menu.
-有关上下文菜单的其他有用信息。