Package org.opennms.web.navigate
Class MenuDropdownNavBarEntry
- java.lang.Object
-
- org.opennms.web.navigate.LocationBasedNavBarEntry
-
- org.opennms.web.navigate.MenuDropdownNavBarEntry
-
- All Implemented Interfaces:
NavBarEntry
public class MenuDropdownNavBarEntry extends LocationBasedNavBarEntry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.web.navigate.NavBarEntry
NavBarEntry.NavBarContext
-
-
Constructor Summary
Constructors Constructor Description MenuDropdownNavBarEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayStatus
evaluate(MenuContext context)
If there are anyNavBarEntry
objects in this dropdown object, return DISPLAY_NO_LINK (since the individual entries will handle their own)String
getDisplayString()
getDisplayString-
Methods inherited from class org.opennms.web.navigate.LocationBasedNavBarEntry
getEntries, getLocationMatch, getName, getUrl, hasEntries, isLinkMatches, setEntries, setLocationMatch, setName, setUrl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.web.navigate.NavBarEntry
evaluate
-
-
-
-
Method Detail
-
getDisplayString
public String getDisplayString()
getDisplayString
- Specified by:
getDisplayString
in interfaceNavBarEntry
- Overrides:
getDisplayString
in classLocationBasedNavBarEntry
- Returns:
- The text containing the menu entry/entries.
-
evaluate
public DisplayStatus evaluate(MenuContext context)
If there are anyNavBarEntry
objects in this dropdown object, return DISPLAY_NO_LINK (since the individual entries will handle their own)- Specified by:
evaluate
in interfaceNavBarEntry
- Overrides:
evaluate
in classLocationBasedNavBarEntry
-
-