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 Link icon

    Fields inherited from class javax.faces.render.Renderer Link icon

    PASSTHROUGH_RENDERER_LOCALNAME_KEY
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    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 Link icon

    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 Link icon

    convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren

    Methods inherited from class java.lang.Object Link icon

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

    • OrgChartRenderer Link icon

      public OrgChartRenderer()
  • Method Details Link icon

    • encodeEnd Link icon

      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 Link icon

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

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

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