Class NavItem


  • public class NavItem
    extends Object
    Represents a navigation item with label, rendering URL, a flag that indicates that it's an active item (is part of the current request) and sub navigation items when applicable.
    Author:
    avasquez
    • Constructor Detail

      • NavItem

        public NavItem()
    • Method Detail

      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • setSubItems

        public void setSubItems​(List<NavItem> subItems)
      • setAttributes

        public void setAttributes​(Map<String,​String> attributes)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object