Package | Description |
---|---|
com.vaadin.contextmenu |
Modifier and Type | Method and Description |
---|---|
MenuItem |
MenuItem.addItem(String caption,
Menu.Command command)
Add a new item inside this item, thus creating a sub-menu.
|
MenuItem |
MenuBar.addItem(String caption,
Menu.Command command) |
MenuItem |
Menu.addItem(String caption,
Menu.Command command)
Add a new item to the menu bar.
|
MenuItem |
ContextMenu.addItem(String caption,
Menu.Command command)
Delegates to AbstractMenu
|
MenuItem |
AbstractMenu.addItem(String caption,
Menu.Command command) |
MenuItem |
MenuItem.addItem(String caption,
com.vaadin.server.Resource icon,
Menu.Command command)
Add a new item inside this item, thus creating a sub-menu.
|
MenuItem |
MenuBar.addItem(String caption,
com.vaadin.server.Resource icon,
Menu.Command command) |
MenuItem |
Menu.addItem(String caption,
com.vaadin.server.Resource icon,
Menu.Command command)
Add a new item to the menu bar.
|
MenuItem |
ContextMenu.addItem(String caption,
com.vaadin.server.Resource icon,
Menu.Command command) |
MenuItem |
AbstractMenu.addItem(String caption,
com.vaadin.server.Resource icon,
Menu.Command command) |
MenuItem |
MenuItem.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore)
Add an item before some item.
|
MenuItem |
MenuBar.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
Menu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore)
Add an item before some item.
|
MenuItem |
ContextMenu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
AbstractMenu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
MenuItem.addSeparator()
Adds a separator to this menu.
|
MenuItem |
ContextMenu.addSeparator() |
MenuItem |
MenuItem.addSeparatorBefore(MenuItem itemToAddBefore) |
MenuItem |
ContextMenu.addSeparatorBefore(MenuItem itemToAddBefore) |
MenuItem |
MenuBar.getMoreMenuItem()
Get the MenuItem used as the collapse menu item.
|
MenuItem |
MenuItem.getParent()
For the containing item.
|
protected MenuItem |
MenuBar.readMenuElement(org.jsoup.nodes.Element menuElement,
MenuItem parent) |
Modifier and Type | Method and Description |
---|---|
List<MenuItem> |
MenuItem.getChildren()
This will return the children of this item or null if there are none.
|
List<MenuItem> |
MenuBar.getItems() |
List<MenuItem> |
Menu.getItems()
Returns a list with all the MenuItem objects in the menu bar
|
List<MenuItem> |
ContextMenu.getItems() |
List<MenuItem> |
AbstractMenu.getItems() |
Modifier and Type | Method and Description |
---|---|
MenuItem |
MenuItem.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore)
Add an item before some item.
|
MenuItem |
MenuBar.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
Menu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore)
Add an item before some item.
|
MenuItem |
ContextMenu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
AbstractMenu.addItemBefore(String caption,
com.vaadin.server.Resource icon,
Menu.Command command,
MenuItem itemToAddBefore) |
MenuItem |
MenuItem.addSeparatorBefore(MenuItem itemToAddBefore) |
MenuItem |
ContextMenu.addSeparatorBefore(MenuItem itemToAddBefore) |
protected org.jsoup.nodes.Element |
MenuBar.createMenuElement(MenuItem item,
com.vaadin.ui.declarative.DesignContext designContext) |
void |
Menu.Command.menuSelected(MenuItem selectedItem) |
protected MenuItem |
MenuBar.readMenuElement(org.jsoup.nodes.Element menuElement,
MenuItem parent) |
void |
MenuItem.removeChild(MenuItem item)
Remove the first occurrence of the item.
|
void |
MenuBar.removeItem(MenuItem item) |
void |
Menu.removeItem(MenuItem item)
Remove first occurrence the specified item from the main menu
|
void |
ContextMenu.removeItem(MenuItem item) |
void |
AbstractMenu.removeItem(MenuItem item) |
void |
MenuBar.setMoreMenuItem(MenuItem item)
Set the item that is used when collapsing the top level menu.
|
Copyright © 2017 Magnolia International Ltd.. All rights reserved.