Package org.primefaces.component.charts
Class ChartRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.charts.ChartRenderer
- Direct Known Subclasses:
BarChartRenderer,BubbleChartRenderer,DonutChartRenderer,LineChartRenderer,PieChartRenderer,PolarAreaChartRenderer,RadarChartRenderer,ScatterChartRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected voidencodeAnimation(javax.faces.context.FacesContext context, Animation animation, boolean hasComma) protected voidencodeAxes(javax.faces.context.FacesContext context, String chartName, String defaultAxeId, List<CartesianAxes> axes) protected voidencodeConfig(javax.faces.context.FacesContext context, ChartModel model) protected voidencodeData(javax.faces.context.FacesContext context, ChartData data) protected voidencodeElements(javax.faces.context.FacesContext context, Elements elements, boolean hasComma) protected voidencodeLegend(javax.faces.context.FacesContext context, Legend legend, boolean hasComma) protected voidencodeMarkup(javax.faces.context.FacesContext context, UIChart chart) protected voidencodeOptions(javax.faces.context.FacesContext context, String type, Object options) protected voidencodePlugins(javax.faces.context.FacesContext context, ChartOptions options, boolean hasComma) protected voidencodeResponsive(javax.faces.context.FacesContext context, ChartOptions options, boolean hasComma) protected voidencodeScales(javax.faces.context.FacesContext context, String chartName, Object scales, boolean hasComma) protected voidencodeTitle(javax.faces.context.FacesContext context, Title title, String element, boolean hasComma) protected voidencodeTooltip(javax.faces.context.FacesContext context, Tooltip tooltip, boolean hasComma) protected voidwriteLabels(javax.faces.context.FacesContext context, Object labels) 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, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
-
Constructor Details
-
ChartRenderer
public ChartRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classjavax.faces.render.Renderer
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, UIChart chart) throws IOException - Throws:
IOException
-
encodeConfig
protected void encodeConfig(javax.faces.context.FacesContext context, ChartModel model) throws IOException - Throws:
IOException
-
encodeData
protected void encodeData(javax.faces.context.FacesContext context, ChartData data) throws IOException - Throws:
IOException
-
writeLabels
protected void writeLabels(javax.faces.context.FacesContext context, Object labels) throws IOException - Throws:
IOException
-
encodeOptions
protected void encodeOptions(javax.faces.context.FacesContext context, String type, Object options) throws IOException - Throws:
IOException
-
encodeScales
protected void encodeScales(javax.faces.context.FacesContext context, String chartName, Object scales, boolean hasComma) throws IOException - Throws:
IOException
-
encodeAxes
protected void encodeAxes(javax.faces.context.FacesContext context, String chartName, String defaultAxeId, List<CartesianAxes> axes) throws IOException - Throws:
IOException
-
encodeElements
protected void encodeElements(javax.faces.context.FacesContext context, Elements elements, boolean hasComma) throws IOException - Throws:
IOException
-
encodeResponsive
protected void encodeResponsive(javax.faces.context.FacesContext context, ChartOptions options, boolean hasComma) throws IOException - Throws:
IOException
-
encodePlugins
protected void encodePlugins(javax.faces.context.FacesContext context, ChartOptions options, boolean hasComma) throws IOException - Throws:
IOException
-
encodeTitle
protected void encodeTitle(javax.faces.context.FacesContext context, Title title, String element, boolean hasComma) throws IOException - Throws:
IOException
-
encodeTooltip
protected void encodeTooltip(javax.faces.context.FacesContext context, Tooltip tooltip, boolean hasComma) throws IOException - Throws:
IOException
-
encodeLegend
protected void encodeLegend(javax.faces.context.FacesContext context, Legend legend, boolean hasComma) throws IOException - Throws:
IOException
-
encodeAnimation
protected void encodeAnimation(javax.faces.context.FacesContext context, Animation animation, boolean hasComma) throws IOException - Throws:
IOException
-