Package com.vaadin.ui
Interface MenuBar.Command
-
- All Superinterfaces:
Serializable
- Enclosing class:
- MenuBar
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface MenuBar.Command extends Serializable
This interface contains the layer for menu commands of theMenuBarclass. It's method will fire when the user clicks on the containingMenuBar.MenuItem. The selected item is given as an argument.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmenuSelected(MenuBar.MenuItem selectedItem)
-
-
-
Method Detail
-
menuSelected
void menuSelected(MenuBar.MenuItem selectedItem)
-
-