List of usage examples for com.vaadin.ui MenuBar setMoreMenuItem
public void setMoreMenuItem(MenuItem item)
From source file:org.vaadin.tori.util.ComponentUtil.java
License:Apache License
public static MenuBar getDropdownMenu() { final MenuBar result = new MenuBar(); MenuItem rootItem = result.addItem("", null); result.setMoreMenuItem(rootItem); result.addStyleName("dropdown"); return result; }