org.primefaces.component.menu
Class MenuRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.renderkit.OutcomeTargetRenderer
              extended by org.primefaces.component.menu.BaseMenuRenderer
                  extended by org.primefaces.component.menu.MenuRenderer

public class MenuRenderer
extends BaseMenuRenderer


Field Summary
 
Fields inherited from class org.primefaces.component.menu.BaseMenuRenderer
SEPARATOR
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
MenuRenderer()
           
 
Method Summary
protected  void encodeElements(javax.faces.context.FacesContext context, Menu menu, List<MenuElement> elements)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, AbstractMenu abstractMenu)
           
protected  void encodeScript(javax.faces.context.FacesContext context, AbstractMenu abstractMenu)
           
protected  void encodeSubmenu(javax.faces.context.FacesContext context, Menu menu, Submenu submenu)
           
 
Methods inherited from class org.primefaces.component.menu.BaseMenuRenderer
buildAjaxRequest, buildNonAjaxRequest, decode, encodeChildren, encodeEnd, encodeKeyboardTarget, encodeMenuItem, encodeMenuItemContent, encodeOverlayConfig, encodeSeparator, findMenuitem, getRendersChildren
 
Methods inherited from class org.primefaces.renderkit.OutcomeTargetRenderer
findNavigationCase, getParams, getTargetURL, isIncludeViewParams
 
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
 

Constructor Detail

MenuRenderer

public MenuRenderer()
Method Detail

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            AbstractMenu abstractMenu)
                     throws IOException
Specified by:
encodeScript in class BaseMenuRenderer
Throws:
IOException

encodeMarkup

protected void encodeMarkup(javax.faces.context.FacesContext context,
                            AbstractMenu abstractMenu)
                     throws IOException
Specified by:
encodeMarkup in class BaseMenuRenderer
Throws:
IOException

encodeElements

protected void encodeElements(javax.faces.context.FacesContext context,
                              Menu menu,
                              List<MenuElement> elements)
                       throws IOException
Throws:
IOException

encodeSubmenu

protected void encodeSubmenu(javax.faces.context.FacesContext context,
                             Menu menu,
                             Submenu submenu)
                      throws IOException
Throws:
IOException


Copyright © 2013. All rights reserved.