Class AccordionPanelRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.accordionpanel.AccordionPanelRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected voidencodeIcon(javax.faces.context.FacesContext context, Tab tab, String iconClass, String id, String title, String ariaLabel) protected voidencodeMarkup(javax.faces.context.FacesContext context, AccordionPanel acco) protected voidencodeScript(javax.faces.context.FacesContext context, AccordionPanel acco) protected voidencodeStateHolder(javax.faces.context.FacesContext context, AccordionPanel accordionPanel, String activeIndex) protected voidencodeTab(javax.faces.context.FacesContext context, AccordionPanel accordionPanel, Tab tab, int index, boolean active, boolean dynamic, boolean repeating, boolean rtl) protected voidencodeTabs(javax.faces.context.FacesContext context, AccordionPanel acco, String activeIndex) booleanprotected booleanprotected StringresolveActiveIndex(javax.faces.context.FacesContext context, AccordionPanel accordionPanel) Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
-
Constructor Details
-
AccordionPanelRenderer
public AccordionPanelRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, AccordionPanel acco) throws IOException - Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, AccordionPanel acco) throws IOException - Throws:
IOException
-
encodeStateHolder
protected void encodeStateHolder(javax.faces.context.FacesContext context, AccordionPanel accordionPanel, String activeIndex) throws IOException - Throws:
IOException
-
encodeTabs
protected void encodeTabs(javax.faces.context.FacesContext context, AccordionPanel acco, String activeIndex) throws IOException - Throws:
IOException
-
isActive
-
encodeTab
protected void encodeTab(javax.faces.context.FacesContext context, AccordionPanel accordionPanel, Tab tab, int index, boolean active, boolean dynamic, boolean repeating, boolean rtl) throws IOException - Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildrenin classjavax.faces.render.Renderer- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classjavax.faces.render.Renderer
-
encodeIcon
protected void encodeIcon(javax.faces.context.FacesContext context, Tab tab, String iconClass, String id, String title, String ariaLabel) throws IOException - Throws:
IOException
-
resolveActiveIndex
protected String resolveActiveIndex(javax.faces.context.FacesContext context, AccordionPanel accordionPanel)
-