Class AdminMenu
java.lang.Object
com.foreach.across.modules.web.menu.Menu
com.foreach.across.modules.adminweb.menu.AdminMenu
- All Implemented Interfaces:
org.springframework.core.Ordered
public class AdminMenu
extends com.foreach.across.modules.web.menu.Menu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Attribute that will be used to determine if a menu item should be included in breadcrumb generation.static final String
Attribute that will be used to determine the position for the menu item.static final String
Fields inherited from class com.foreach.across.modules.web.menu.Menu
ROOT_LEVEL, SORT_BY_ORDER_AND_TITLE, SORT_BY_TITLE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
breadcrumbLeaf
(String title) Shortcut to specify the leaf point of the current breadcrumb by adding an additional item to the path.Methods inherited from class com.foreach.across.modules.web.menu.Menu
addItem, addItem, addItem, addItem, builder, clear, getAttribute, getAttributes, getComparator, getFirstItem, getItem, getItems, getItemWithName, getItemWithPath, getLevel, getLowestSelectedItem, getName, getOrder, getParent, getPath, getRoot, getSelectedItem, getSelectedItemPath, getTitle, getUrl, hasAttribute, hasItems, hasParent, hasTitle, hasUrl, isComparatorInheritable, isDisabled, isEmpty, isGroup, isOrdered, isRoot, isSelected, merge, remove, select, setAttribute, setAttributes, setComparator, setDisabled, setGroup, setName, setOrder, setOrdered, setPath, setSelected, setTitle, setUrl, size, sort, sort, toString
-
Field Details
-
NAME
- See Also:
-
ATTR_NAV_POSITION
Attribute that will be used to determine the position for the menu item. Actual interpretation depends on the layout template being used, but the defaultAdminWebLayoutTemplate
supports either a string or an array of strings as value.- See Also:
-
ATTR_BREADCRUMB
Attribute that will be used to determine if a menu item should be included in breadcrumb generation. Items with an explicit value offalse
will not be rendered.- See Also:
-
-
Constructor Details
-
AdminMenu
public AdminMenu()
-
-
Method Details
-
breadcrumbLeaf
Shortcut to specify the leaf point of the current breadcrumb by adding an additional item to the path.- Parameters:
title
- text for the leaf.
-