Class BaseMenuRenderer

Direct Known Subclasses:
BreadCrumbRenderer, DockRenderer, MegaMenuRenderer, MenuRenderer, PanelMenuRenderer, SpeedDialRenderer, StackRenderer, StepsRenderer, TabMenuRenderer, TieredMenuRenderer

public abstract class BaseMenuRenderer extends MenuItemAwareRenderer
  • Constructor Details

    • BaseMenuRenderer

      public BaseMenuRenderer()
  • Method Details

    • encodeEnd

      public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeEnd in class javax.faces.render.Renderer
      Throws:
      IOException
    • encodeMarkup

      protected abstract void encodeMarkup(javax.faces.context.FacesContext context, AbstractMenu abstractMenu) throws IOException
      Throws:
      IOException
    • encodeScript

      protected abstract void encodeScript(javax.faces.context.FacesContext context, AbstractMenu abstractMenu) throws IOException
      Throws:
      IOException
    • getLinkStyleClass

      protected String getLinkStyleClass(MenuItem menuItem)
    • encodeMenuItem

      protected void encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem) throws IOException
      Throws:
      IOException
    • encodeMenuItem

      protected void encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem, String tabindex) throws IOException
      Throws:
      IOException
    • encodeMenuItem

      protected void encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem, String tabindex, Map.Entry<String,String> aria) throws IOException
      Throws:
      IOException
    • shouldRenderId

      protected boolean shouldRenderId(MenuElement element)
    • encodeMenuItemContent

      protected void encodeMenuItemContent(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem) throws IOException
      Throws:
      IOException
    • encodeIcon

      protected void encodeIcon(javax.faces.context.ResponseWriter writer, AbstractMenu menu, MenuItem menuitem, boolean shouldRender) throws IOException
      Throws:
      IOException
    • encodeOverlayConfig

      protected void encodeOverlayConfig(javax.faces.context.FacesContext context, OverlayMenu menu, WidgetBuilder wb) throws IOException
      Throws:
      IOException
    • encodeChildren

      public void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeChildren in class javax.faces.render.Renderer
      Throws:
      IOException
    • getRendersChildren

      public boolean getRendersChildren()
      Overrides:
      getRendersChildren in class javax.faces.render.Renderer
    • encodeKeyboardTarget

      protected void encodeKeyboardTarget(javax.faces.context.FacesContext context, AbstractMenu menu) throws IOException
      Throws:
      IOException