com.github.highcharts4gwt.client.model.event.ChartRenderedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
GWT wrapper for highcharts library.
package com.github.highcharts4gwt.client.model.event;
import com.github.highcharts4gwt.model.highcharts.object.api.Chart;
import com.google.web.bindery.event.shared.Event;
public class ChartRenderedEvent extends Event
{
private static Type TYPE;
public static Type getType() {
if ( TYPE == null )
TYPE = new Type();
return TYPE;
}
private final Chart chart;
public ChartRenderedEvent(Chart chart)
{
this.chart = chart;
}
public Chart getChart()
{
return chart;
}
@Override
public com.google.web.bindery.event.shared.Event.Type getAssociatedType()
{
return getType();
}
@Override
protected void dispatch(Handler handler)
{
handler.onChartRendered(getChart());
}
public interface Handler {
void onChartRendered(Chart chart);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy