public class MenuItemDeterminatorCallback extends AbstractMenuItemDeterminatorCallback
| Constructor and Description |
|---|
MenuItemDeterminatorCallback(IMenuTree aMenuTree,
String sSelectedMenuItemID) |
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> |
getAllDisplayMenuItemIDs(IMenuItemDeterminatorCallback aDeterminator) |
static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> |
getAllDisplayMenuItemIDs(IMenuTree aMenuTree,
String sSelectedMenuItemID) |
com.helger.commons.collection.ext.ICommonsMap<String,Boolean> |
getAllItemIDs() |
static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> |
getAllMenuItemIDs(IMenuTree aMenuTree)
Get all menu items without usage a separate
MenuItemDeterminatorCallback instance. |
protected boolean |
isMenuItemValidToBeDisplayed(IMenuObject aMenuObj) |
com.helger.commons.hierarchy.visit.EHierarchyVisitorReturn |
onItemBeforeChildren(com.helger.tree.withid.DefaultTreeItemWithID<String,IMenuObject> aItem) |
protected void |
rememberMenuItemForDisplay(String sMenuItemID,
boolean bExpanded) |
getMenuTreegetLevel, onItemAfterChildren, onLevelDown, onLevelUp@OverrideOnDemand @OverridingMethodsMustInvokeSuper protected boolean isMenuItemValidToBeDisplayed(@Nonnull IMenuObject aMenuObj)
@OverrideOnDemand protected void rememberMenuItemForDisplay(@Nonnull @Nonempty String sMenuItemID, boolean bExpanded)
public final com.helger.commons.hierarchy.visit.EHierarchyVisitorReturn onItemBeforeChildren(@Nonnull com.helger.tree.withid.DefaultTreeItemWithID<String,IMenuObject> aItem)
onItemBeforeChildren in interface com.helger.commons.hierarchy.visit.IHierarchyVisitorCallback<com.helger.tree.withid.DefaultTreeItemWithID<String,IMenuObject>>onItemBeforeChildren in class com.helger.commons.hierarchy.visit.DefaultHierarchyVisitorCallback<com.helger.tree.withid.DefaultTreeItemWithID<String,IMenuObject>>@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.ext.ICommonsMap<String,Boolean> getAllItemIDs()
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> getAllDisplayMenuItemIDs(@Nonnull IMenuTree aMenuTree, @Nullable String sSelectedMenuItemID)
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> getAllDisplayMenuItemIDs(@Nonnull IMenuItemDeterminatorCallback aDeterminator)
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.ext.ICommonsMap<String,Boolean> getAllMenuItemIDs(@Nonnull IMenuTree aMenuTree)
MenuItemDeterminatorCallback instance.aMenuTree - The menu tree to get all items from. May not be null.null map with all menu item IDs as keys and the
"expansion state" as the value.Copyright © 2014–2017 Philip Helger. All rights reserved.