Uses of Class
com.jbstrap.core.cache.MenuItem
Packages that use MenuItem
-
Uses of MenuItem in com.jbstrap.core
Methods in com.jbstrap.core that return MenuItemModifier and TypeMethodDescriptionstatic MenuItemJBStrap.addMenuItem(String menuName, MenuItem menuItem) Adds a menu item to an already existing menu.static MenuItemJBStrap.addMenuItem(String menuName, String menuItemName, Icon menuItemIcon, String menuItemTitle) Adds a menu item to an already existing menu.static MenuItemJBStrap.addMenuItem(String menuName, String menuItemName, Icon menuItemIcon, String menuItemTitle, MenuItem... subMenuItems) Adds a menu item with sub menu items to an already existing menu.static MenuItemJBStrap.addMenuItem(String menuName, String menuItemName, Icon menuItemIcon, String menuItemTitle, MenuOperation operation, String targetPageId) Adds a menu item with sub menu items to an already existing menu.Methods in com.jbstrap.core that return types with arguments of type MenuItemModifier and TypeMethodDescriptionJBStrap.getMenuItems(String menuName) Gets a list of the name of menu items that are assigned to the specified menuMethods in com.jbstrap.core with parameters of type MenuItemModifier and TypeMethodDescriptionstatic MenuItemJBStrap.addMenuItem(String menuName, MenuItem menuItem) Adds a menu item to an already existing menu.static MenuItemJBStrap.addMenuItem(String menuName, String menuItemName, Icon menuItemIcon, String menuItemTitle, MenuItem... subMenuItems) Adds a menu item with sub menu items to an already existing menu. -
Uses of MenuItem in com.jbstrap.core.cache
Methods in com.jbstrap.core.cache that return MenuItemModifier and TypeMethodDescriptionAdds the specified role to the menu itemAdds the specified roles to the menu itemMenuItem.addSubMenuItem(MenuItem item) Adds a new sub-menu item to the menu item.MenuItem.copy()MenuItem.findByName(String name) Finds the specified menu item, by using it's name. .MenuItem.getParent()Gets the menu item's parentMenuItem.getSubMenuItemByName(String name) Gets the specified sub-menu itemMenuItem.removeHotKey()Removes the previously assigned hotkeyMenuItem.removeRole(String roleCode) Removes the specified role from the menu itemMenuItem.removeSubMenuItem(MenuItem subMenuItem) Removes the specified sub-menu item.MenuItem.removeSubMenuItem(String name) Removes the specified sub-menu item.MenuItem.setClickHandler(NavigationEventHandler handler) Sets a custom click hanlderMenuItem.setHotKey(int hotKey) Sets a hotkey to the menu itemSets a marker text and type to the menu itemMenuItem.setMarkerText(String markerText) Sets a marker text to the menu itemMenuItem.setMarkerType(BadgeType markerType) Sets a marker type to the menu itemfinal MenuItemMenuItem.setMenuOperation(MenuOperation operation, String targetPageId) Sets the menu item operationSets the menu item's order.protected MenuItemMethods in com.jbstrap.core.cache that return types with arguments of type MenuItemModifier and TypeMethodDescriptionMenuCache.getMenuItems(String menuName) MenuItem.getSubMenuItems()Gets every sub-menu item that is assigned to the menu itemMethods in com.jbstrap.core.cache with parameters of type MenuItemModifier and TypeMethodDescriptionvoidMenuCache.addMenuItemToMenu(String menuName, MenuItem menuItem) MenuItem.addSubMenuItem(MenuItem item) Adds a new sub-menu item to the menu item.MenuItem.removeSubMenuItem(MenuItem subMenuItem) Removes the specified sub-menu item.voidMenuCache.reorderMenuByItem(MenuItem item) protected MenuItem