Interface I_CmsContextMenuClientRpc

All Superinterfaces:
com.vaadin.shared.communication.ClientRpc, Serializable

public interface I_CmsContextMenuClientRpc extends com.vaadin.shared.communication.ClientRpc
Server to client RPC communication.

Adapted from ContextMenu by Peter Lehto / Vaadin Ltd.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sends request to client widget to close context menu.
    void
    showContextMenu(int x, int y)
    Sends request to client widget to open context menu to given position.
    void
    Sends request to client widget to open context menu relative to component identified by given connectorId.
  • Method Details

    • hide

      void hide()
      Sends request to client widget to close context menu.

    • showContextMenu

      void showContextMenu(int x, int y)
      Sends request to client widget to open context menu to given position.

      Parameters:
      x - the client x position
      y - the client y position
    • showContextMenuRelativeTo

      void showContextMenuRelativeTo(String connectorId)
      Sends request to client widget to open context menu relative to component identified by given connectorId. (Method is on purpose with different name from showContextMenu as overloading does not work properly in javascript environment.)

      Parameters:
      connectorId - the connector id