public class NavigationEntryFolder extends Object implements NavigationEntryInterface
NavigationEntryFolder defines one menu folders with subentries.| Constructor and Description |
|---|
NavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml pmenuValue,
boolean popenOnStartup)
constructor for menu folders.
|
NavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml pmenuValue,
boolean popenOnStartup,
Collection<NavigationEntryInterface> psubEntries)
constructor for menu folders.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSubEntries(Collection<NavigationEntryInterface> psubEntries)
add a menu sub entries.
|
void |
addSubEntry(NavigationEntryInterface psubEntry)
add a menu sub entry.
|
boolean |
canReveal()
check if this entry should be displayed.
|
boolean |
equals(Object obj) |
String |
getFullToken()
get full token.
|
com.google.gwt.safehtml.shared.SafeHtml |
getMenuValue()
get menu value.
|
NavigationEntryInterface |
getParentEntry()
get parent entry.
|
List<NavigationEntryInterface> |
getSubEntries()
get list of sub entries.
|
String |
getToken()
get token.
|
String |
getTokenDynamic()
get token dynamic.
|
int |
hashCode() |
boolean |
isOpenOnStartup()
is entry open on startup.
|
void |
setParentEntry(NavigationEntryInterface pparentEntry)
add a parent entry.
|
void |
setTokenDynamic(String ptokenDynamic)
set token dynamic.
|
public NavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml pmenuValue,
boolean popenOnStartup)
pmenuValue - menu valuepopenOnStartup - this folder is open on startuppublic NavigationEntryFolder(com.google.gwt.safehtml.shared.SafeHtml pmenuValue,
boolean popenOnStartup,
Collection<NavigationEntryInterface> psubEntries)
pmenuValue - menu valuepopenOnStartup - this folder is open on startuppsubEntries - a collection of subentriespublic final com.google.gwt.safehtml.shared.SafeHtml getMenuValue()
NavigationEntryInterfacegetMenuValue in interface NavigationEntryInterfacepublic final String getToken()
NavigationEntryInterfacegetToken in interface NavigationEntryInterfacepublic final String getFullToken()
NavigationEntryInterfacegetFullToken in interface NavigationEntryInterfacepublic final String getTokenDynamic()
NavigationEntryInterfacegetTokenDynamic in interface NavigationEntryInterfacepublic final void setTokenDynamic(String ptokenDynamic)
NavigationEntryInterfacesetTokenDynamic in interface NavigationEntryInterfaceptokenDynamic - the tokenDynamic to setpublic final List<NavigationEntryInterface> getSubEntries()
public final void addSubEntry(NavigationEntryInterface psubEntry)
psubEntry - the sub entry to addpublic final void addSubEntries(Collection<NavigationEntryInterface> psubEntries)
psubEntries - the sub entries to addpublic final NavigationEntryInterface getParentEntry()
NavigationEntryInterfacegetParentEntry in interface NavigationEntryInterfacepublic final void setParentEntry(NavigationEntryInterface pparentEntry)
NavigationEntryInterfacesetParentEntry in interface NavigationEntryInterfacepparentEntry - entry to addpublic final boolean isOpenOnStartup()
NavigationEntryInterfaceisOpenOnStartup in interface NavigationEntryInterfacepublic final boolean canReveal()
NavigationEntryInterfacecanReveal in interface NavigationEntryInterfaceCopyright © 2015–2019. All rights reserved.