Package org.craftercms.engine.navigation
Class NavItem
java.lang.Object
org.craftercms.engine.navigation.NavItem
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
-
Field Details
-
label
-
url
-
active
protected boolean active -
subItems
-
attributes
-
-
Constructor Details
-
NavItem
public NavItem()
-
-
Method Details
-
getLabel
-
setLabel
-
getUrl
-
setUrl
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getSubItems
-
setSubItems
-
getAttributes
-
setAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-