Example usage for Java com.vaadin.ui MenuBar.MenuItem fields, constructors, methods, implement or subclass
The text is from its open source code.
MenuBar.MenuItem | addItem(String caption, MenuBar.Command command) Add a new item to the menu bar. |
MenuBar.MenuItem | addItem(String caption, Resource icon, MenuBar.Command command) Add a new item to the menu bar. |
MenuBar.MenuItem | addItemBefore(String caption, Resource icon, MenuBar.Command command, MenuBar.MenuItem itemToAddBefore) Add an item before some item. |
Resource | getIcon() |
String | getId() |
String | getStyleName() |
boolean | isEnabled() |
void | setDescription(String description) Sets the component's description. |
void | setEnabled(boolean enabled) |
void | setIcon(Resource icon) Sets the component's icon. |
void | setStyleName(String style) |
void | setVisible(boolean visible) |