Class PickListRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.component.picklist.PickListRenderer
-
public class PickListRenderer extends InputRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description PickListRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeAriaRegion(javax.faces.context.FacesContext context, String clientId)
protected void
encodeButton(javax.faces.context.FacesContext context, String title, String styleClass, String icon, String labelDisplay)
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, boolean isSource)
protected void
encodeList(javax.faces.context.FacesContext context, PickList pickList, String listId, String styleClass, List model, javax.faces.component.UIComponent caption, boolean filter, boolean isSource)
protected void
encodeListControls(javax.faces.context.FacesContext context, PickList pickList, String styleClass, String labelDisplay)
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, boolean isSource)
protected void
encodeScript(javax.faces.context.FacesContext context, PickList pickList)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
protected DualListModel
getModelValueToRender(javax.faces.context.FacesContext context, PickList pickList)
boolean
getRendersChildren()
-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
- Overrides:
decode
in classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.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, String labelDisplay) 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, String labelDisplay) 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, boolean isSource) 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, boolean isSource) 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 classInputRenderer
- Throws:
javax.faces.convert.ConverterException
-
encodeFilter
protected void encodeFilter(javax.faces.context.FacesContext context, PickList pickList, String name, boolean isSource) throws IOException
- Throws:
IOException
-
encodeAriaRegion
protected void encodeAriaRegion(javax.faces.context.FacesContext context, String clientId) throws IOException
- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
getModelValueToRender
protected DualListModel getModelValueToRender(javax.faces.context.FacesContext context, PickList pickList)
-
-