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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • NAME

      public static final String NAME
      See Also:
    • ATTR_NAV_POSITION

      public static final String 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 default AdminWebLayoutTemplate supports either a string or an array of strings as value.
      See Also:
    • ATTR_BREADCRUMB

      public static final String ATTR_BREADCRUMB
      Attribute that will be used to determine if a menu item should be included in breadcrumb generation. Items with an explicit value of false will not be rendered.
      See Also:
  • Constructor Details

    • AdminMenu

      public AdminMenu()
  • Method Details