public interface I_CmsContextMenuServerRpc extends com.vaadin.shared.communication.ServerRpc
Adapted from ContextMenu by Peter Lehto / Vaadin Ltd.
| Modifier and Type | Method and Description |
|---|---|
void |
contextMenuClosed()
Called by the client side when context menu is closed.
|
void |
itemClicked(java.lang.String itemId,
boolean menuClosed)
Called by the client widget when context menu item is clicked.
|
void |
onContextMenuOpenRequested(int x,
int y,
java.lang.String connectorIdOfComponent)
Called by the client side when context menu is about to be opened.
|
void contextMenuClosed()
void itemClicked(java.lang.String itemId, boolean menuClosed)
itemId - id of the clicked itemmenuClosed - will be true if menu was closed after the clickvoid onContextMenuOpenRequested(int x, int y, java.lang.String connectorIdOfComponent)
x - mouse x coordinatey - mouse y coordinateconnectorIdOfComponent - component connector id on which the click was made