Class OrgChartRenderer

java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.extensions.component.orgchart.OrgChartRenderer

public class OrgChartRenderer extends org.primefaces.renderkit.CoreRenderer
orgchart component.
Since:
7.0
Version:
$Revision$
Author:
@jxmai / last modified by $Author$
  • Field Summary

    Fields inherited from class javax.faces.render.Renderer

    PASSTHROUGH_RENDERER_LOCALNAME_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    buildNodesFromJSON(Map<String,OrgChartNode> orgChartNodes, org.primefaces.shaded.json.JSONObject hierarchy, OrgChartNode parentNode)
     
    void
    decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
     
    void
    encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
     
    static org.primefaces.shaded.json.JSONObject
    toJSON(OrgChartNode orgChartNode, List<OrgChartNode> children)
     

    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, renderButtonValue, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderRTLDirection, renderValidationMetadata, shouldRenderAttribute, shouldWriteId

    Methods inherited from class javax.faces.render.Renderer

    convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OrgChartRenderer

      public OrgChartRenderer()
  • 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
    • decode

      public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Overrides:
      decode in class javax.faces.render.Renderer
    • buildNodesFromJSON

      public static OrgChartNode buildNodesFromJSON(Map<String,OrgChartNode> orgChartNodes, org.primefaces.shaded.json.JSONObject hierarchy, OrgChartNode parentNode)
    • toJSON

      public static org.primefaces.shaded.json.JSONObject toJSON(OrgChartNode orgChartNode, List<OrgChartNode> children)