Interface JmixSideMenuClientRpc
- All Superinterfaces:
com.vaadin.shared.communication.ClientRpc
,Serializable
public interface JmixSideMenuClientRpc
extends com.vaadin.shared.communication.ClientRpc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildMenu
(elemental.json.JsonArray menuItems) Build menuvoid
selectItem
(String itemId) Select itemvoid
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
Select item- Parameters:
itemId
- target item id
-
updateBadge
Update badges of items- Parameters:
badgeUpdates
- Map item id -> new badge text
-