Class MenuView.Menu
java.lang.Object
org.springframework.shell.component.view.control.MenuView.MenuItem
org.springframework.shell.component.view.control.MenuView.Menu
- Enclosing class:
- MenuView
MenuView.Menu represents an item in a MenuView being a specialisation
 of MenuView.MenuItem indicating it having a sub-menu.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct menu with a title.Menu(String title, List<MenuView.MenuItem> items) Construct menu with a title and a menu items.Menu(String title, MenuView.MenuItem[] items) Construct menu with a title and a menu items.
- 
Method SummaryModifier and TypeMethodDescriptionstatic MenuView.Menuof(String title, MenuView.MenuItem... items) Methods inherited from class org.springframework.shell.component.view.control.MenuView.MenuItemgetAction, getCheckStyle, getItems, getTitle, isInitialCheckState, of, of, of, of, setAction
- 
Constructor Details- 
MenuConstruct menu with a title.- Parameters:
- title- the title
 
- 
MenuConstruct menu with a title and a menu items.- Parameters:
- title- the title
- items- the menu items
 
- 
MenuConstruct menu with a title and a menu items.- Parameters:
- title- the title
- items- the menu items
 
 
- 
- 
Method Details- 
of- Parameters:
- title- the title
- items- the menu items
- Returns:
- a menu
 
 
-