Class BadgeRenderer

java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.badge.BadgeRenderer

public class BadgeRenderer extends CoreRenderer
  • Constructor Details

    • BadgeRenderer

      public BadgeRenderer()
  • Method Details

    • 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
    • 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

      protected void encodeOverlayEnd(javax.faces.context.FacesContext context) throws IOException
      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:
      encodeChildren in class javax.faces.render.Renderer
      Throws:
      IOException
    • getRendersChildren

      public boolean getRendersChildren()
      Overrides:
      getRendersChildren in class javax.faces.render.Renderer