org.primefaces.component.selectmanymenu
Class SelectManyMenuRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.renderkit.InputRenderer
              extended by org.primefaces.renderkit.SelectRenderer
                  extended by org.primefaces.renderkit.SelectManyRenderer
                      extended by org.primefaces.component.selectmanymenu.SelectManyMenuRenderer

public class SelectManyMenuRenderer
extends SelectManyRenderer


Field Summary
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
SelectManyMenuRenderer()
           
 
Method Summary
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeInput(javax.faces.context.FacesContext context, SelectManyMenu menu, String clientId, List<javax.faces.model.SelectItem> selectItems)
           
protected  void encodeItem(javax.faces.context.FacesContext context, SelectManyMenu menu, javax.faces.model.SelectItem option, Object values, Object submittedValues, javax.faces.convert.Converter converter, boolean customContent, boolean showCheckbox)
           
protected  void encodeList(javax.faces.context.FacesContext context, SelectManyMenu menu, List<javax.faces.model.SelectItem> selectItems)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, SelectManyMenu menu)
           
protected  void encodeOption(javax.faces.context.FacesContext context, SelectManyMenu menu, javax.faces.model.SelectItem option, Object values, Object submittedValues, javax.faces.convert.Converter converter)
           
protected  void encodeScript(javax.faces.context.FacesContext context, SelectManyMenu menu)
           
protected  void encodeSelectItems(javax.faces.context.FacesContext context, SelectManyMenu menu, List<javax.faces.model.SelectItem> selectItems)
           
 Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
           
 String getHighlighter()
           
 boolean getRendersChildren()
           
protected  String getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectMany selectMany)
           
 
Methods inherited from class org.primefaces.renderkit.SelectManyRenderer
decode, getSubmittedValues, getValues
 
Methods inherited from class org.primefaces.renderkit.SelectRenderer
isSelected
 
Methods inherited from class org.primefaces.renderkit.InputRenderer
coerceToModelType, createSelectItem, createSelectItem, findImplicitConverter, getOptionAsString, getSelectItems, shouldDecode
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeJavaScriptForChain, escapeText, getActionURL, getEventBehaviors, 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

SelectManyMenuRenderer

public SelectManyMenuRenderer()
Method Detail

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 InputRenderer
Throws:
javax.faces.convert.ConverterException

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,
                            SelectManyMenu menu)
                     throws IOException
Throws:
IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            SelectManyMenu menu)
                     throws IOException
Throws:
IOException

encodeInput

protected void encodeInput(javax.faces.context.FacesContext context,
                           SelectManyMenu menu,
                           String clientId,
                           List<javax.faces.model.SelectItem> selectItems)
                    throws IOException
Throws:
IOException

encodeList

protected void encodeList(javax.faces.context.FacesContext context,
                          SelectManyMenu menu,
                          List<javax.faces.model.SelectItem> selectItems)
                   throws IOException
Throws:
IOException

encodeItem

protected void encodeItem(javax.faces.context.FacesContext context,
                          SelectManyMenu menu,
                          javax.faces.model.SelectItem option,
                          Object values,
                          Object submittedValues,
                          javax.faces.convert.Converter converter,
                          boolean customContent,
                          boolean showCheckbox)
                   throws IOException
Throws:
IOException

encodeSelectItems

protected void encodeSelectItems(javax.faces.context.FacesContext context,
                                 SelectManyMenu menu,
                                 List<javax.faces.model.SelectItem> selectItems)
                          throws IOException
Throws:
IOException

encodeOption

protected void encodeOption(javax.faces.context.FacesContext context,
                            SelectManyMenu menu,
                            javax.faces.model.SelectItem option,
                            Object values,
                            Object submittedValues,
                            javax.faces.convert.Converter converter)
                     throws IOException
Throws:
IOException

getSubmitParam

protected String getSubmitParam(javax.faces.context.FacesContext context,
                                javax.faces.component.UISelectMany selectMany)
Specified by:
getSubmitParam in class SelectManyRenderer

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

getHighlighter

public String getHighlighter()
Overrides:
getHighlighter in class CoreRenderer


Copyright © 2013. All rights reserved.