public class PanelsNavComponentBuilder extends NavComponentBuilder<PanelsNavComponentBuilder>
Menu into a panels structure with list-group items.NavComponentBuilder.Separator| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_PANEL_STYLE
Deprecated.
|
static String |
ATTR_RENDER_AS_PANEL
Deprecated.
|
ATTR_ICON, ATTR_ICON_ONLY, ATTR_INSERT_SEPARATOR, ATTR_ITEM_VIEW_ELEMENT, ATTR_KEEP_AS_GROUP, ATTR_KEEP_GROUP_ITEM, ATTR_LINK_VIEW_ELEMENT, ATTR_VIEW_ELEMENT_WITHER, CTX_CURRENT_MENU_ITEM| Constructor and Description |
|---|
PanelsNavComponentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected com.foreach.across.modules.web.ui.elements.NodeViewElement |
buildMenu(com.foreach.across.modules.web.menu.Menu menu,
com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext) |
PanelsNavComponentBuilder |
subMenuBaseId(String htmlId)
Optionally set a base id to be used for generating the unique sub-menu ids.
|
addHtmlAttributes, addIconAndText, addItemLink, addViewElementIfAttributeExists, createElement, customizeViewElement, customizeViewElement, filter, findFirstIncludedChild, findItemToRender, getFirstNonGroupSelectedItem, htmlAttribute, htmlAttributesOf, includedItems, includePathAsDataAttribute, keepGroupsAsGroup, menu, menu, numberOfChildrenToInclude, shouldIncludeItem, shouldKeepAsGroup, witherAttributebuildLink, linkBuilderescapeHtml, isEscapeHtml, resolveTextElement, toTextElementapply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCssadd, add, addAll, addFirst, addFirst, sortbuild, configure, customTemplate, elementSupplier, elementSupplier, name, postProcess, postProcessor, registerWebResources, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Deprecated public static final String ATTR_PANEL_STYLE
@Deprecated public static final String ATTR_RENDER_AS_PANEL
false on an group menu item that would be rendered as a panel (a group on the top level), no panel will be
rendered but a sidebar nav list will directly be rendered. Optionally a title will still be included if the group has one.
Note that non-panel lists do not support groups as items, these will be ignored.public PanelsNavComponentBuilder subMenuBaseId(String htmlId)
htmlId - to use as baseprotected com.foreach.across.modules.web.ui.elements.NodeViewElement buildMenu(com.foreach.across.modules.web.menu.Menu menu,
com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext)
buildMenu in class NavComponentBuilder<PanelsNavComponentBuilder>Copyright © 2020. All rights reserved.