public class LocationBasedNavBarEntry extends Object implements NavBarEntry
NavBarEntry.NavBarContext| Constructor and Description | 
|---|
LocationBasedNavBarEntry()  | 
| Modifier and Type | Method and Description | 
|---|---|
DisplayStatus | 
evaluate(MenuContext context)  | 
String | 
getDisplayString()  | 
List<NavBarEntry> | 
getEntries()
If this navbar entry has sub-entries, return them. 
 | 
String | 
getLocationMatch()  | 
String | 
getName()  | 
String | 
getUrl()  | 
boolean | 
hasEntries()  | 
protected boolean | 
isLinkMatches(MenuContext context)  | 
void | 
setEntries(List<NavBarEntry> entries)  | 
void | 
setLocationMatch(String locationMatch)  | 
void | 
setName(String name)  | 
void | 
setUrl(String url)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluatepublic String getDisplayString()
getDisplayString in interface NavBarEntrypublic String getUrl()
getUrl in interface NavBarEntrypublic void setUrl(String url)
public String getName()
getName in interface NavBarEntrypublic void setName(String name)
public List<NavBarEntry> getEntries()
NavBarEntrygetEntries in interface NavBarEntrypublic void setEntries(List<NavBarEntry> entries)
public boolean hasEntries()
hasEntries in interface NavBarEntrypublic DisplayStatus evaluate(MenuContext context)
evaluate in interface NavBarEntrypublic String getLocationMatch()
public void setLocationMatch(String locationMatch)
protected boolean isLinkMatches(MenuContext context)
Copyright © 2021. All rights reserved.