| 程序包 | 说明 |
|---|---|
| org.cef | |
| org.cef.callback | |
| org.cef.handler |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CefClient.onBeforeContextMenu(CefBrowser browser,
CefContextMenuParams params,
CefMenuModel model) |
| 限定符和类型 | 方法和说明 |
|---|---|
CefMenuModel |
CefMenuModel.addSubMenu(int command_id,
String label)
Add a sub-menu to the menu.
|
CefMenuModel |
CefMenuModel.getSubMenu(int command_id)
Returns the submenu for the specified |command_id| or empty if invalid.
|
CefMenuModel |
CefMenuModel.getSubMenuAt(int index)
Returns the submenu at the specified |index| or empty if invalid.
|
CefMenuModel |
CefMenuModel.insertSubMenuAt(int index,
int command_id,
String label)
Insert a sub-menu in the menu at the specified |index|.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CefContextMenuHandlerAdapter.onBeforeContextMenu(CefBrowser browser,
CefContextMenuParams params,
CefMenuModel model) |
void |
CefContextMenuHandler.onBeforeContextMenu(CefBrowser browser,
CefContextMenuParams params,
CefMenuModel model)
Called before a context menu is displayed.
|
Copyright © 2017. All rights reserved.