Class NavigationLink
java.lang.Object
de.knightsoftnet.navigation.client.ui.navigation.NavigationLink
- All Implemented Interfaces:
NavigationEntryInterface
The
NavigationLink defines one menu entry.- Author:
- Manfred Tremmel
-
Constructor Summary
ConstructorsConstructorDescriptionNavigationLink(com.google.gwt.safehtml.shared.SafeHtml menuValue, com.google.gwt.safehtml.shared.SafeUri url, com.gwtplatform.mvp.client.proxy.Gatekeeper gatekeeper) constructor for menu entries.NavigationLink(com.google.gwt.safehtml.shared.SafeHtml menuValue, com.google.gwt.safehtml.shared.SafeUri url, String target, com.gwtplatform.mvp.client.proxy.Gatekeeper gatekeeper) constructor for menu entries. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancheck if this entry should be displayed.final booleancom.google.gwt.user.client.ui.Anchorfinal Stringget full token.final com.google.gwt.safehtml.shared.SafeHtmlget menu value.final NavigationEntryInterfaceget parent entry.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
-
getTarget
-
getAnchor
public com.google.gwt.user.client.ui.Anchor getAnchor() -
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
-