| Package | Description |
|---|---|
| com.vaadin.client.ui.menubar |
| Modifier and Type | Method and Description |
|---|---|
MenuItem |
MenuBar.addItem(String text,
boolean asHTML,
com.google.gwt.user.client.Command cmd)
Deprecated.
Adds a menu item to the bar, that will fire the given command when it is
selected.
|
MenuItem |
MenuBar.addItem(String text,
boolean asHTML,
MenuBar popup)
Deprecated.
Adds a menu item to the bar, that will open the specified menu when it is
selected.
|
MenuItem |
MenuBar.addItem(String text,
com.google.gwt.user.client.Command cmd)
Deprecated.
Adds a menu item to the bar, that will fire the given command when it is
selected.
|
MenuItem |
MenuBar.addItem(String text,
MenuBar popup)
Deprecated.
Adds a menu item to the bar, that will open the specified menu when it is
selected.
|
MenuItem |
MenuBar.getFirstItem()
Deprecated.
Gets the first item from the menu or null if no items.
|
MenuItem |
MenuBar.getLastItem()
Deprecated.
Gest the last item from the menu or null if no items.
|
MenuItem |
MenuBar.getSelectedItem()
Deprecated.
Returns the
MenuItem that is currently selected
(highlighted) by the user. |
| Modifier and Type | Method and Description |
|---|---|
List<MenuItem> |
MenuBar.getItems()
Deprecated.
Returns a list containing the
MenuItem objects in the menu
bar. |
| Modifier and Type | Method and Description |
|---|---|
void |
MenuBar.addItem(MenuItem item)
Deprecated.
Adds a menu item to the bar.
|
protected void |
MenuBar.doItemAction(MenuItem item,
boolean fireCommand)
Deprecated.
|
void |
MenuBar.removeItem(MenuItem item)
Deprecated.
Removes the specified menu item from the bar.
|
void |
MenuBar.selectItem(MenuItem item)
Deprecated.
|
Copyright © 2018 Vaadin Ltd. All rights reserved.