org.primefaces.component.splitbutton
Class SplitButtonRenderer

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.splitbutton.SplitButtonRenderer

public class SplitButtonRenderer
extends OutcomeTargetRenderer


Field Summary
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
SplitButtonRenderer()
           
 
Method Summary
protected  String buildOnclick(javax.faces.context.FacesContext context, SplitButton button)
           
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  void encodeDefaultButton(javax.faces.context.FacesContext context, SplitButton button, String id)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, SplitButton button)
           
protected  void encodeMenu(javax.faces.context.FacesContext context, SplitButton button, String menuId)
           
protected  void encodeMenuIcon(javax.faces.context.FacesContext context, SplitButton button, String id)
           
protected  void encodeMenuItem(javax.faces.context.FacesContext context, UIMenuItem menuitem)
           
protected  void encodeScript(javax.faces.context.FacesContext context, SplitButton button)
           
protected  void encodeSeparator(javax.faces.context.FacesContext context, UISeparator separator)
           
 boolean 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

SplitButtonRenderer

public SplitButtonRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

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 void encodeMarkup(javax.faces.context.FacesContext context,
                            SplitButton button)
                     throws IOException
Throws:
IOException

encodeDefaultButton

protected void encodeDefaultButton(javax.faces.context.FacesContext context,
                                   SplitButton button,
                                   String id)
                            throws IOException
Throws:
IOException

encodeMenuIcon

protected void encodeMenuIcon(javax.faces.context.FacesContext context,
                              SplitButton button,
                              String id)
                       throws IOException
Throws:
IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            SplitButton button)
                     throws IOException
Throws:
IOException

buildOnclick

protected String buildOnclick(javax.faces.context.FacesContext context,
                              SplitButton button)
                       throws IOException
Throws:
IOException

encodeMenu

protected void encodeMenu(javax.faces.context.FacesContext context,
                          SplitButton button,
                          String menuId)
                   throws IOException
Throws:
IOException

encodeMenuItem

protected void encodeMenuItem(javax.faces.context.FacesContext context,
                              UIMenuItem menuitem)
                       throws IOException
Throws:
IOException

encodeSeparator

protected void encodeSeparator(javax.faces.context.FacesContext context,
                               UISeparator separator)
                        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


Copyright © 2013. All rights reserved.