org.primefaces.component.menu
Class BaseMenuRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.OutcomeTargetRenderer
org.primefaces.component.menu.BaseMenuRenderer
- Direct Known Subclasses:
- BreadCrumbRenderer, DockRenderer, MegaMenuRenderer, MenuButtonRenderer, MenuRenderer, PanelMenuRenderer, StackRenderer, TabMenuRenderer, TieredMenuRenderer
public abstract class BaseMenuRenderer
- extends OutcomeTargetRenderer
Fields inherited from class javax.faces.render.Renderer |
PASSTHROUGH_RENDERER_LOCALNAME_KEY |
Method Summary |
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)
|
boolean |
getRendersChildren()
|
Methods inherited from class org.primefaces.renderkit.CoreRenderer |
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeJavaScriptForChain, escapeText, getActionURL, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isAjaxRequest, isPostback, isValueBlank, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId, startScript |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeBegin, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEPARATOR
public static final String SEPARATOR
- See Also:
- Constant Field Values
BaseMenuRenderer
public BaseMenuRenderer()
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Overrides:
decode
in class javax.faces.render.Renderer
findMenuitem
protected MenuItem findMenuitem(List<MenuElement> elements,
String id)
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
encodeMenuItem
protected void encodeMenuItem(javax.faces.context.FacesContext context,
AbstractMenu menu,
MenuItem menuitem)
throws IOException
- Throws:
IOException
encodeMenuItemContent
protected void encodeMenuItemContent(javax.faces.context.FacesContext context,
AbstractMenu menu,
MenuItem menuitem)
throws IOException
- Throws:
IOException
encodeSeparator
protected void encodeSeparator(javax.faces.context.FacesContext context,
Separator separator)
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
buildAjaxRequest
protected String buildAjaxRequest(javax.faces.context.FacesContext context,
AbstractMenu menu,
AjaxSource source,
javax.faces.component.UIComponent form,
Map<String,List<String>> params)
buildNonAjaxRequest
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)
encodeKeyboardTarget
protected void encodeKeyboardTarget(javax.faces.context.FacesContext context,
AbstractMenu menu)
throws IOException
- Throws:
IOException
Copyright © 2013. All rights reserved.