BaseMenuRenderer
, BreadCrumbRenderer
, DockRenderer
, MegaMenuRenderer
, MenuButtonRenderer
, MenuRenderer
, PanelMenuRenderer
, StackRenderer
, StepsRenderer
, TabMenuRenderer
, TieredMenuRenderer
public abstract class BaseMenuRenderer extends OutcomeTargetRenderer
Constructor | Description |
---|---|
BaseMenuRenderer() |
Modifier and Type | Method | Description |
---|---|---|
protected String |
buildAjaxRequest(javax.faces.context.FacesContext context,
AbstractMenu menu,
AjaxSource source,
javax.faces.component.UIComponent form,
Map<String,List<String>> params) |
|
protected String |
buildNonAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.component.UIComponent form,
String decodeParam,
Map<String,List<String>> parameters,
boolean submit) |
|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
|
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 |
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 void |
encodeSeparator(javax.faces.context.FacesContext context,
Separator separator) |
|
protected MenuItem |
findMenuitem(List<MenuElement> elements,
String id) |
|
protected String |
getLinkStyleClass(MenuItem menuItem) |
|
boolean |
getRendersChildren() |
|
protected void |
setConfirmationScript(javax.faces.context.FacesContext context,
MenuItem item) |
|
protected boolean |
shouldRenderId(MenuElement element) |
buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId, startScript
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsEL, evaluateValueExpressions, findNavigationCase, getParams, getTargetURL, isExpression, isIncludeViewParams, prependContextPathIfNecessary
public static final String SEPARATOR
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
protected MenuItem findMenuitem(List<MenuElement> elements, String id)
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected abstract void encodeMarkup(javax.faces.context.FacesContext context, AbstractMenu abstractMenu) throws IOException
IOException
protected abstract void encodeScript(javax.faces.context.FacesContext context, AbstractMenu abstractMenu) throws IOException
IOException
protected void encodeMenuItem(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem) throws IOException
IOException
protected void setConfirmationScript(javax.faces.context.FacesContext context, MenuItem item)
protected boolean shouldRenderId(MenuElement element)
protected void encodeMenuItemContent(javax.faces.context.FacesContext context, AbstractMenu menu, MenuItem menuitem) throws IOException
IOException
protected void encodeSeparator(javax.faces.context.FacesContext context, Separator separator) throws IOException
IOException
protected void encodeOverlayConfig(javax.faces.context.FacesContext context, OverlayMenu menu, WidgetBuilder wb) throws IOException
IOException
public void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
protected String buildAjaxRequest(javax.faces.context.FacesContext context, AbstractMenu menu, AjaxSource source, javax.faces.component.UIComponent form, Map<String,List<String>> params)
protected String buildNonAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.component.UIComponent form, String decodeParam, Map<String,List<String>> parameters, boolean submit)
protected void encodeKeyboardTarget(javax.faces.context.FacesContext context, AbstractMenu menu) throws IOException
IOException
Copyright © 2018. All rights reserved.