Class PanelsNavComponentBuilder

java.lang.Object
com.foreach.across.modules.web.ui.ViewElementBuilderSupport<T,SELF>
com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<T,SELF>
com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<T,SELF>
All Implemented Interfaces:
com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<com.foreach.across.modules.web.ui.elements.NodeViewElement,PanelsNavComponentBuilder>, com.foreach.across.modules.web.ui.ViewElementBuilder<com.foreach.across.modules.web.ui.elements.NodeViewElement>

public class PanelsNavComponentBuilder extends NavComponentBuilder<PanelsNavComponentBuilder>
Renders a Menu into a panels structure with list-group items.
Since:
1.1.0
Author:
Arne Vandamme
  • Field Details

    • ATTR_PANEL_STYLE

      @Deprecated public static final String ATTR_PANEL_STYLE
      Deprecated.
      Holds the CSS class that determines the panel styling. If set, the default panel-default class will be omitted. Only relevant on group menu items that would result in a panel being rendered.
      See Also:
    • ATTR_RENDER_AS_PANEL

      @Deprecated public static final String ATTR_RENDER_AS_PANEL
      Deprecated.
      If set to 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.

      See Also:
  • Constructor Details

    • PanelsNavComponentBuilder

      public PanelsNavComponentBuilder()
  • Method Details

    • buildMenu

      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)
      Specified by:
      buildMenu in class NavComponentBuilder<PanelsNavComponentBuilder>