Package org.primefaces.component.menu
Class BaseMenuRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.OutcomeTargetRenderer
-
- org.primefaces.renderkit.MenuItemAwareRenderer
-
- org.primefaces.component.menu.BaseMenuRenderer
-
- Direct Known Subclasses:
BreadCrumbRenderer
,DockRenderer
,MegaMenuRenderer
,MenuRenderer
,PanelMenuRenderer
,SpeedDialRenderer
,StackRenderer
,StepsRenderer
,TabMenuRenderer
,TieredMenuRenderer
public abstract class BaseMenuRenderer extends MenuItemAwareRenderer
-
-
Constructor Summary
Constructors Constructor Description BaseMenuRenderer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeKeyboardTarget(javax.faces.context.FacesContext context, AbstractMenu menu)
protected abstract void
encodeMarkup(javax.faces.context.FacesContext context, AbstractMenu abstractMenu)
protected void
encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem)
protected void
encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem, String tabindex)
protected void
encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem, String tabindex, Map.Entry<String,String> aria)
protected void
encodeMenuItemContent(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem)
protected void
encodeOverlayConfig(javax.faces.context.FacesContext context, OverlayMenu menu, WidgetBuilder wb)
protected abstract void
encodeScript(javax.faces.context.FacesContext context, AbstractMenu abstractMenu)
protected String
getLinkStyleClass(MenuItem menuItem)
boolean
getRendersChildren()
protected boolean
shouldRenderId(MenuElement element)
-
Methods inherited from class org.primefaces.renderkit.MenuItemAwareRenderer
decode, decodeDynamicMenuItem, encodeOnClick, encodeSeparator, findMenuItemByCoordinates, findMenuItemById, setConfirmationScript
-
Methods inherited from class org.primefaces.renderkit.OutcomeTargetRenderer
containsEL, evaluateValueExpressions, findNavigationCase, getParams, getTargetRequestURL, getTargetURL, isExpression, isIncludeViewParams
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.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
-
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
-
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 classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
encodeKeyboardTarget
protected void encodeKeyboardTarget(javax.faces.context.FacesContext context, AbstractMenu menu) throws IOException
- Throws:
IOException
-
-