| Package | Description |
|---|---|
| com.vaadin.client.ui |
| Modifier and Type | Field and Description |
|---|---|
VMenuBar.CustomMenuItem |
VMenuBar.moreItem
For internal use only.
|
protected VMenuBar.CustomMenuItem |
VMenuBar.selected |
| Modifier and Type | Field and Description |
|---|---|
protected List<VMenuBar.CustomMenuItem> |
VMenuBar.items |
| Modifier and Type | Method and Description |
|---|---|
VMenuBar.CustomMenuItem |
VMenuBar.addItem(String html,
com.google.gwt.user.client.Command cmd)
Add a new item to this menu.
|
VMenuBar.CustomMenuItem |
VMenuBar.getMenuItemWithElement(com.google.gwt.user.client.Element element)
Deprecated.
As of 7.2, call or override
VMenuBar.getMenuItemWithElement(Element) instead |
VMenuBar.CustomMenuItem |
VMenuBar.getMenuItemWithElement(com.google.gwt.dom.client.Element element)
Get menu item with given DOM element.
|
VMenuBar.CustomMenuItem |
VMenuBar.getSelected()
Returns the currently selected item of this menu, or null if nothing is
selected.
|
| Modifier and Type | Method and Description |
|---|---|
List<VMenuBar.CustomMenuItem> |
VMenuBar.getItems()
Returns a list of items in this menu.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VMenuBar.addItem(VMenuBar.CustomMenuItem item)
Add a new item to this menu.
|
void |
VMenuBar.addItem(VMenuBar.CustomMenuItem item,
int index) |
void |
VMenuBar.hideChildMenu(VMenuBar.CustomMenuItem item)
Hides the submenu of an item.
|
void |
VMenuBar.itemClick(VMenuBar.CustomMenuItem item)
When an item is clicked.
|
void |
VMenuBar.itemOut(VMenuBar.CustomMenuItem item)
When the mouse is moved away from an item.
|
void |
VMenuBar.itemOver(VMenuBar.CustomMenuItem item)
When the user hovers the mouse over the item.
|
void |
VMenuBar.removeItem(VMenuBar.CustomMenuItem item)
Remove the given item from this menu.
|
void |
VMenuBar.setSelected(VMenuBar.CustomMenuItem item)
Set the currently selected item of this menu.
|
void |
VMenuBar.showChildMenu(VMenuBar.CustomMenuItem item)
Shows the child menu of an item.
|
protected void |
VMenuBar.showChildMenuAt(VMenuBar.CustomMenuItem item,
int top,
int left) |
Copyright © 2021 Vaadin Ltd. All rights reserved.