Package org.craftercms.engine.navigation
Class NavItem
- java.lang.Object
-
- org.craftercms.engine.navigation.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 Summary
Constructors Constructor Description NavItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,String>
getAttributes()
String
getLabel()
List<NavItem>
getSubItems()
String
getUrl()
int
hashCode()
boolean
isActive()
void
setActive(boolean active)
void
setAttributes(Map<String,String> attributes)
void
setLabel(String label)
void
setSubItems(List<NavItem> subItems)
void
setUrl(String url)
String
toString()
-