Interface JmixSideMenuClientRpc

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

public interface JmixSideMenuClientRpc extends com.vaadin.shared.communication.ClientRpc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildMenu(elemental.json.JsonArray menuItems)
    Build menu
    void
    Select item
    void
    updateBadge(Map<String,String> badgeUpdates)
    Update badges of items
  • Method Details

    • buildMenu

      void buildMenu(elemental.json.JsonArray menuItems)
      Build menu
      Parameters:
      menuItems - menu items tree
    • selectItem

      void selectItem(@Nullable String itemId)
      Select item
      Parameters:
      itemId - target item id
    • updateBadge

      void updateBadge(Map<String,String> badgeUpdates)
      Update badges of items
      Parameters:
      badgeUpdates - Map item id -> new badge text