Uses of Class
org.springframework.shell.jline.tui.component.view.control.MenuView.MenuItem
Packages that use MenuView.MenuItem
-
Uses of MenuView.MenuItem in org.springframework.shell.jline.tui.component.view.control
Modifier and TypeClassDescriptionstatic classMenuView.Menurepresents an item in aMenuViewbeing a specialisation ofMenuView.MenuItemindicating it having a sub-menu.Methods in org.springframework.shell.jline.tui.component.view.control that return MenuView.MenuItemModifier and TypeMethodDescriptionMenuView.MenuViewItemEventArgs.item()Returns the value of theitemrecord component.static MenuView.MenuItemReturn aMenuView.MenuItemwith a giventitle.static MenuView.MenuItemMenuView.MenuItem.of(String title, MenuView.MenuItemCheckStyle checkStyle) static MenuView.MenuItemMenuView.MenuItem.of(String title, MenuView.MenuItemCheckStyle checkStyle, Runnable action) static MenuView.MenuItemMenuView.MenuItem.of(String title, MenuView.MenuItemCheckStyle checkStyle, Runnable action, boolean initialCheckState) Methods in org.springframework.shell.jline.tui.component.view.control that return types with arguments of type MenuView.MenuItemModifier and TypeMethodDescriptionMenuBarView.MenuBarItem.getItems()MenuView.getItems()Gets a menu items.@Nullable List<MenuView.MenuItem>MenuView.MenuItem.getItems()Gets sub menu items.Methods in org.springframework.shell.jline.tui.component.view.control with parameters of type MenuView.MenuItemModifier and TypeMethodDescriptionstatic MenuBarView.MenuBarItemMenuBarView.MenuBarItem.of(String title, MenuView.MenuItem... items) static MenuView.MenuMenuView.Menu.of(String title, MenuView.MenuItem... items) MenuView.MenuViewItemEventArgs.of(MenuView.MenuItem item) MenuView.MenuViewOpenSelectedItemEvent.of(View view, MenuView.MenuItem item) MenuView.MenuViewSelectedItemChangedEvent.of(View view, MenuView.MenuItem item) voidMenuView.toggle(MenuView.MenuItem item) ToggleMenuView.MenuItemchecked state.Method parameters in org.springframework.shell.jline.tui.component.view.control with type arguments of type MenuView.MenuItemModifier and TypeMethodDescriptionvoidMenuView.setItems(@Nullable List<MenuView.MenuItem> items) Sets a new menu items.Constructors in org.springframework.shell.jline.tui.component.view.control with parameters of type MenuView.MenuItemModifierConstructorDescriptionMenu(String title, MenuView.MenuItem[] items) Construct menu with a title and a menu items.MenuBarItem(String title, MenuView.MenuItem @Nullable [] items) protectedMenuItem(String title, MenuView.MenuItem[] items) MenuView(MenuView.MenuItem[] items) Construct menu view with menu items.Creates an instance of aMenuViewItemEventArgsrecord class.Constructor parameters in org.springframework.shell.jline.tui.component.view.control with type arguments of type MenuView.MenuItemModifierConstructorDescriptionMenu(String title, List<MenuView.MenuItem> items) Construct menu with a title and a menu items.protectedMenuItem(String title, List<MenuView.MenuItem> items) MenuView(@Nullable List<MenuView.MenuItem> items) Construct menu view with menu items.