Class NavigationEntryFolder
java.lang.Object
de.knightsoftnet.navigation.client.ui.navigation.NavigationEntryFolder
- All Implemented Interfaces:
NavigationEntryInterface
The
NavigationEntryFolder defines one menu folders with subentries.- Author:
- Manfred Tremmel
-
Constructor Summary
ConstructorsConstructorDescriptionNavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml menuValue, boolean openOnStartup) constructor for menu folders.NavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml menuValue, boolean openOnStartup, Collection<NavigationEntryInterface> subEntries) constructor for menu folders. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddSubEntries(Collection<NavigationEntryInterface> subEntries) add a menu sub entries.final voidaddSubEntry(NavigationEntryInterface subEntry) add a menu sub entry.final booleancheck if this entry should be displayed.final booleanfinal Stringget full token.final com.google.gwt.safehtml.shared.SafeHtmlget menu value.final NavigationEntryInterfaceget parent entry.final List<NavigationEntryInterface> get list of sub entries.final StringgetToken()get token.final Stringget token dynamic.final inthashCode()final booleanis entry open on startup.final voidsetParentEntry(NavigationEntryInterface parentEntry) add a parent entry.final voidsetTokenDynamic(String tokenDynamic) set token dynamic.
-
Constructor Details
-
Method Details
-
getMenuValue
public final com.google.gwt.safehtml.shared.SafeHtml getMenuValue()Description copied from interface:NavigationEntryInterfaceget menu value.- Specified by:
getMenuValuein interfaceNavigationEntryInterface- Returns:
- the menuValue
-
getToken
Description copied from interface:NavigationEntryInterfaceget token.- Specified by:
getTokenin interfaceNavigationEntryInterface- Returns:
- the token
-
getFullToken
Description copied from interface:NavigationEntryInterfaceget full token.- Specified by:
getFullTokenin interfaceNavigationEntryInterface- Returns:
- the token with static and dynamic part
-
getTokenDynamic
Description copied from interface:NavigationEntryInterfaceget token dynamic.- Specified by:
getTokenDynamicin interfaceNavigationEntryInterface- Returns:
- the tokenDynamic
-
setTokenDynamic
Description copied from interface:NavigationEntryInterfaceset token dynamic.- Specified by:
setTokenDynamicin interfaceNavigationEntryInterface- Parameters:
tokenDynamic- the tokenDynamic to set
-
getSubEntries
get list of sub entries.- Returns:
- the subEntries
-
addSubEntries
add a menu sub entries.- Parameters:
subEntries- the sub entries to add
-
getParentEntry
Description copied from interface:NavigationEntryInterfaceget parent entry.- Specified by:
getParentEntryin interfaceNavigationEntryInterface- Returns:
- the parentEntry
-
isOpenOnStartup
public final boolean isOpenOnStartup()Description copied from interface:NavigationEntryInterfaceis entry open on startup.- Specified by:
isOpenOnStartupin interfaceNavigationEntryInterface- Returns:
- the openOnStartup
-
canReveal
public final boolean canReveal()Description copied from interface:NavigationEntryInterfacecheck if this entry should be displayed.- Specified by:
canRevealin interfaceNavigationEntryInterface- Returns:
- true if it should be displayed
-
hashCode
public final int hashCode() -
equals
-