Package org.primefaces.component.badge
Class BadgeRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.badge.BadgeRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected voidencode(javax.faces.context.FacesContext context, Badge badge, BadgeModel badgeModel, boolean renderChildren) 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, Badge badge, String icon) protected voidencodeLabel(javax.faces.context.FacesContext context, Badge badge, String value, boolean valueEmpty) protected voidencodeOverlayBegin(javax.faces.context.FacesContext context, String clientId) static <T extends javax.faces.component.UIComponent>
voidencodeOverlayed(javax.faces.context.FacesContext context, Object badge, Callbacks.FailableBiConsumer<javax.faces.context.FacesContext, T> contentRenderer, T component) protected voidencodeOverlayEnd(javax.faces.context.FacesContext context) protected voidencodeValue(javax.faces.context.FacesContext context, Badge badge, BadgeModel model) booleanMethods 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, renderButtonValue, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderRTLDirection, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, getConvertedValue
-
Constructor Details
-
BadgeRenderer
public BadgeRenderer()
-
-
Method Details
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeOverlayed
public static <T extends javax.faces.component.UIComponent> void encodeOverlayed(javax.faces.context.FacesContext context, Object badge, Callbacks.FailableBiConsumer<javax.faces.context.FacesContext, T> contentRenderer, T component) throws IOException- Throws:
IOException
-
encode
public static void encode(javax.faces.context.FacesContext context, Object badge) throws IOException - Throws:
IOException
-
encodeOverlayBegin
protected void encodeOverlayBegin(javax.faces.context.FacesContext context, String clientId) throws IOException - Throws:
IOException
-
encodeOverlayEnd
- Throws:
IOException
-
encode
protected void encode(javax.faces.context.FacesContext context, Badge badge, BadgeModel badgeModel, boolean renderChildren) throws IOException - Throws:
IOException
-
encodeValue
protected void encodeValue(javax.faces.context.FacesContext context, Badge badge, BadgeModel model) throws IOException - Throws:
IOException
-
encodeIcon
protected void encodeIcon(javax.faces.context.FacesContext context, Badge badge, String icon) throws IOException - Throws:
IOException
-
encodeLabel
protected void encodeLabel(javax.faces.context.FacesContext context, Badge badge, String value, boolean valueEmpty) 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
-