All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.chartistjsf.component.chart.renderer.BaseChartistRenderer Maven / Gradle / Ivy

The newest version!
package org.chartistjsf.component.chart.renderer;

import java.io.IOException;

import javax.faces.context.FacesContext;

import org.chartistjsf.component.chart.Chart;

public abstract class BaseChartistRenderer {
	
	public void render(FacesContext context, Chart chart) throws IOException {
		encodeData(context, chart);
		encodeOptions(context, chart);
	}

	protected abstract void encodeData(FacesContext context, Chart chart) throws IOException;

	protected void encodeOptions(FacesContext context, Chart chart) throws IOException {		

	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy