org.primefaces.component.picklist
Class PickListRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.component.picklist.PickListRenderer

public class PickListRenderer
extends CoreRenderer


Field Summary
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
PickListRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeButton(javax.faces.context.FacesContext context, String title, String styleClass, String icon)
           
protected  void encodeCaption(javax.faces.context.FacesContext context, javax.faces.component.UIComponent caption)
           
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  void encodeFilter(javax.faces.context.FacesContext context, PickList pickList, String name)
           
protected  void encodeList(javax.faces.context.FacesContext context, PickList pickList, String listId, String styleClass, List model, javax.faces.component.UIComponent caption, boolean filter)
           
protected  void encodeListControls(javax.faces.context.FacesContext context, PickList pickList, String styleClass)
           
protected  void encodeListInput(javax.faces.context.FacesContext context, String clientId)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, PickList pickList)
           
protected  void encodeOptions(javax.faces.context.FacesContext context, PickList pickList, List model)
           
protected  void encodeScript(javax.faces.context.FacesContext context, PickList pickList)
           
 Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickListRenderer

public PickListRenderer()
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 facesContext,
                      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,
                            PickList pickList)
                     throws IOException
Throws:
IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            PickList pickList)
                     throws IOException
Throws:
IOException

encodeListControls

protected void encodeListControls(javax.faces.context.FacesContext context,
                                  PickList pickList,
                                  String styleClass)
                           throws IOException
Throws:
IOException

encodeCaption

protected void encodeCaption(javax.faces.context.FacesContext context,
                             javax.faces.component.UIComponent caption)
                      throws IOException
Throws:
IOException

encodeButton

protected void encodeButton(javax.faces.context.FacesContext context,
                            String title,
                            String styleClass,
                            String icon)
                     throws IOException
Throws:
IOException

encodeList

protected void encodeList(javax.faces.context.FacesContext context,
                          PickList pickList,
                          String listId,
                          String styleClass,
                          List model,
                          javax.faces.component.UIComponent caption,
                          boolean filter)
                   throws IOException
Throws:
IOException

encodeListInput

protected void encodeListInput(javax.faces.context.FacesContext context,
                               String clientId)
                        throws IOException
Throws:
IOException

encodeOptions

protected void encodeOptions(javax.faces.context.FacesContext context,
                             PickList pickList,
                             List model)
                      throws IOException
Throws:
IOException

getConvertedValue

public Object getConvertedValue(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component,
                                Object submittedValue)
                         throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class javax.faces.render.Renderer
Throws:
javax.faces.convert.ConverterException

encodeFilter

protected void encodeFilter(javax.faces.context.FacesContext context,
                            PickList pickList,
                            String name)
                     throws IOException
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context,
                           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.