Class CarouselRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.component.carousel.CarouselRenderer
-
public class CarouselRenderer extends CoreRenderer
-
-
Constructor Summary
Constructors Constructor Description CarouselRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcalculatePageCount(Carousel carousel)voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)voidencodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeContent(javax.faces.context.FacesContext context, Carousel carousel)protected voidencodeDropDown(javax.faces.context.FacesContext context, Carousel carousel, String name, String styleClass, int pageCount)voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeFooter(javax.faces.context.FacesContext context, Carousel carousel)protected voidencodeHeader(javax.faces.context.FacesContext context, Carousel carousel)protected voidencodeIcon(javax.faces.context.FacesContext context, Carousel carousel, String iconClass, String id)protected voidencodeMarkup(javax.faces.context.FacesContext context, Carousel carousel)protected voidencodePageLinks(javax.faces.context.FacesContext context, Carousel carousel, int pageCount)protected voidencodeStateField(javax.faces.context.FacesContext context, Carousel carousel, String id, Object value)booleangetRendersChildren()-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, 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:
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, Carousel carousel) throws IOException- Throws:
IOException
-
encodeContent
protected void encodeContent(javax.faces.context.FacesContext context, Carousel carousel) throws IOException- Throws:
IOException
-
encodeHeader
protected void encodeHeader(javax.faces.context.FacesContext context, Carousel carousel) throws IOException- Throws:
IOException
-
encodePageLinks
protected void encodePageLinks(javax.faces.context.FacesContext context, Carousel carousel, int pageCount) throws IOException- Throws:
IOException
-
encodeDropDown
protected void encodeDropDown(javax.faces.context.FacesContext context, Carousel carousel, String name, String styleClass, int pageCount) throws IOException- Throws:
IOException
-
encodeFooter
protected void encodeFooter(javax.faces.context.FacesContext context, Carousel carousel) throws IOException- Throws:
IOException
-
encodeStateField
protected void encodeStateField(javax.faces.context.FacesContext context, Carousel carousel, String id, Object value) throws IOException- Throws:
IOException
-
encodeIcon
protected void encodeIcon(javax.faces.context.FacesContext context, Carousel carousel, String iconClass, String id) throws IOException- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildrenin classjavax.faces.render.Renderer
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Overrides:
encodeChildrenin classjavax.faces.render.Renderer- Throws:
IOException
-
calculatePageCount
protected int calculatePageCount(Carousel carousel)
-
-