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.component.commandbutton.CommandButtonRenderer
              extended by org.primefaces.component.splitbutton.SplitButtonRenderer

public class SplitButtonRenderer
extends CommandButtonRenderer


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, MenuItem menuItem)
           
protected  void encodeScript(javax.faces.context.FacesContext context, SplitButton button)
           
protected  void encodeSeparator(javax.faces.context.FacesContext context, Separator separator)
           
 boolean getRendersChildren()
           
 
Methods inherited from class org.primefaces.component.commandbutton.CommandButtonRenderer
encodeMarkup, encodeScript
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeClientBehaviors, endScript, escapeText, getActionURL, getEscapedClientId, getOnclickBehaviors, getResourceRequestPath, getResourceURL, getWidgetBuilder, isAjaxRequest, isPostBack, isPostback, isValueBlank, isValueEmpty, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, 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 CommandButtonRenderer

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
Overrides:
encodeEnd in class CommandButtonRenderer
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,
                              MenuItem menuItem)
                       throws IOException
Throws:
IOException

encodeSeparator

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